Entering edit mode
7.2 years ago
hakimelakhrass ▴ 80
So I am trying to take a subset of my data based on row names. When I used one row name it works no problem. When I use a list I get an error.
x <- subset(dataset, rownames(dataset) == names) Warning message: In rownames(dataset) == names : longer object length is not a multiple of shorter object length