Horje
drop columns by index r Code Example
drop columns by index r
#drop columns by index
df <- mydata[ -c(1,3:4) ]
#drop columns by name
df = subset(mydata, select = -c(x,z))




17

Related
R rename singl edf column Code Example R rename singl edf column Code Example
number of rows by group in r Code Example number of rows by group in r Code Example
r last value of vector Code Example r last value of vector Code Example
check type of column in r Code Example check type of column in r Code Example
ggplot increase label font size Code Example ggplot increase label font size Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14