[R] R: matrix sizes

From: Clark Allan <Allan_at_STATS.uct.ac.za>
Date: Mon 08 Aug 2005 - 20:34:10 EST


hi all

assume that one is doing a simulation. in each iteration one produces a vector of results. this vectors length might change for each different iteration. how can one construct a matrix that contains all of the interation results in a matrix where each of the columns are the outputs from the different interations.

how would have to define the output matrix initally?

/
thanking you in advance



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Aug 08 20:38:02 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:45 EST