Displaying 1 result from an estimated 1 matches for "esmm".
Did you mean:
ermm
2006 Dec 05
1
dynamic variable creation in lists and data frames
Hi
I have a question about the creation of variables within lists in R. I am
running simulations and am interested in two parameters, ESM and ESMM (the
similarity of these names is important for my question). I do simulations
to generate ESMM, then plug these values into a second simulation function
to get ESM:
x <- list()
for (i in 1:nsimulations)
{
x$ESMM[i] <- do_simulation1()
x$ESM[i] <- do_simulation2(x$ESMM[i])
}
and I re...