Try this:
growthBoot <- replicate(3, growth[sample(9,12,replace=T),], simplify =
FALSE)
lapply(growthBoot, nls, formula = Length ~ Linf * (1 - exp(-K * (Age -
to))), start = par)
On Wed, Sep 29, 2010 at 4:56 PM, Michael Larkin wrote:
> I apologize if this comes across as confusing. I will try t
nrlex.html
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Michael Larkin
> Sent: Wednesday, September 29, 2010 2:57 PM
> To: r-help@r-project.org
> Subject: [R] fitting model to resampled data
>
> I apologize if
I apologize if this comes across as confusing. I will try to explain my
situation as best I can.
I have R bootstrapping my growth data for fish. It's resampling my database
of age and length data and then produces several new datasets for me. In
this case, it's resampling my data to create
3 matches
Mail list logo