[R] How to delete a date frame from a data frame
Addi Wei
addiwei at gmail.com
Thu Jul 15 21:37:36 CEST 2010
e.g. I have a big data set called "combined", and then a small sample of
"combined" called "miceSample". I wish to delete "miceSample" from
"combined" to create a new smaller data set and store it into a new object.
combined <- rbind(scaleMiceTrain, scaleMiceTest)
miceSample <- sample(combined[,-c(1,2)],nvars, replace=FALSE)
How do I do that?
--
View this message in context: http://r.789695.n4.nabble.com/How-to-delete-a-date-frame-from-a-data-frame-tp2290577p2290577.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list