Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

how to remove columns in a table in r

# delete multiple columns in r 
# delete column in R by mapping Null value to them
dataset$firstcol <- dataset$nextcol <- dataset$anothercol <- NULL
Source by www.programmingr.com #
 
PREVIOUS NEXT
Tagged: #remove #columns #table
ADD COMMENT
Topic
Name
7+5 =