Hi all,
I need to realize nonlinear regression on a thousand data sets. I guess the
lapply function would help me on that thus I'd like to create a list of data
frames, each data frame containing the data as follows:
CeQe
1 1.849147 0.1958672
2 10.054250 0.5771036
3 18.077246
Hi,
To realize the data frame I've tried this
for (i in 1:1000)
{
foo-list(c(foo[],data.frame( Ce=DATA1.x[,i],Qe=DATA1.y[,i])))
}
I think the following would do it:
foo - list()
for(i in 1:1000) foo[[i]] - data.frame(Ce = DATA1.x[,i], Qe=DATA1.y[,i])
But then again, do you really
a lot :)
Regards/Cordialement
Benoit Boulinguiez
_
De : Kenn Konstabel [mailto:[EMAIL PROTECTED]
Envoyé : lundi 27 octobre 2008 16:59
À : Benoit Boulinguiez
Cc : r-help@r-project.org
Objet : Re: [R] create list of data frames
Hi,
To realize the data frame I've tried
3 matches
Mail list logo