raje...@cse.iitm.ac.in wrote:
Hi,
I create several dataframes in a nested loop and would like to maintain them in
a matrix form with each dataframe represented by the row and the column. How
can I do this?
You can't, at least as you describe it.
However, you can add a column for "row ID" and a column for "column ID"
to each of your result data frames and "rbind" them together.
It is also possible to create lists of lists... but I believe the single
augmented dataframe will be way more useful in the long run.
______________________________________________
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.