Skip to content
Prev 75139 / 398502 Next

R: matrix sizes

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