But "miceSample" has multiple columns... For example if nvars=4, I have 4 columns of data to delete from "combined".
Specifically, I have 187 columns in "combined", and "miceSample" only has 4 columns. So the new data frame should have 183 columns. -- View this message in context: http://r.789695.n4.nabble.com/How-to-delete-a-date-frame-from-a-data-frame-tp2290577p2290605.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.