Get rid of row names in R

t

Blog categories: 

Yesterday I had to remind myself on how to remove the row names in a data.frame. Row names are usually added by filtering steps such as subset, etc.

Assume we want to remove the row names of the data.frame called data, we can type:

rownames(data) <- c()

That’s it
iss

nesono