I need to subset lines of data frame according their name. I have tried the following code but it is not working.
Name plot
12 25
22 23
14 12
16 22
23 54
DF.new <- subset(DF, rownames== c("12" , "16"))
I need to subset lines of data frame according their name. I have tried the following code but it is not working.
Name plot
12 25
22 23
14 12
16 22
23 54
DF.new <- subset(DF, rownames== c("12" , "16"))