DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
R drop columns
undesired <- c('mpg', 'cyl', 'hp') mtcars <- mtcars %>% select(-one_of(undesired))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#R
#drop
#columns
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit