Answers for "remove named columns r"

R
1

r remove row names

rownames(data) <- c()
Posted by: Guest on March-13-2020
0

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
Posted by: Guest on May-09-2021

Browse Popular Code Answers by Language