Hi All,
I would like to create a matrix in R but I dont know the size of my matrix. I
only know the size of the columns but not the size of the rows. So, is there
any way to create a dynamic matrix of size NULL by n_cols? and then add to that
matrix?
I know for a vector, I can do this: x= NULL but is there any way to do the same
for a matrix as well?
Thanks a lot,Andra
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.