Hello R users
I recently learned how to use this command: lapply(datum,"[[","ColumnName") Unfortunately, I don't know how exactly it works, what it's called (in particular the "[[" part], and what other things you can do with it (retrieve multiple columns?). Given datum is a list of dataframes with the same column, but different number of rows, lapply(datum,"[[","ColumnName"), Returns you a list of a particular column form each of your dataframes from datum. I think this is a really useful command, and would like to learn more about it. Unfortunately I don't know what subject or topic it is under and cannot look it up in a book. Thank you, Kevin Master of Science Student Department of Food, Resource and Agricultural Economics University of Guelph Office: 519-824-4120 ext. 58528 Mobile: 226-979-2813 <http://fare.uoguelph.ca/users/kchang01> http://fare.uoguelph.ca/users/kchang01 [[alternative HTML version deleted]] ______________________________________________ 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.