.fitNLMwCovariates | R Documentation |
Uses likelihood parameter estimation to fit non linear models while attempting several starting values.
.fitNLMwCovariates(
data,
nonLinModelQuoted,
linModelQuoted,
mllsOuterPrev,
model = c("CR", "Logistic"),
maxCover = 1L,
starts = NULL,
lower = NULL,
upper = NULL,
nbWorkers = 1L
)
data |
a |
nonLinModelQuoted |
The non-linear equation as a |
linModelQuoted |
A list of linear equations/modes relating each
parameter ('A', 'p' and 'k') with a set of covariates. A |
mllsOuterPrev |
the output of a previous |
model |
character. Non-linear model form used to estimate average maximum
biomass. One of "CR" (Chapman-Richards) or "Logistic". In both cases, maximum biomass
is equivalent to the 'A' asymptote parameter, which is estimated using observed mean
values of predictors entering its linear equation and |
maxCover |
numeric. Value indicating maximum cover/dominance. |
starts |
|
lower |
passed to bbmle::mle2 |
upper |
passed to bbmle::mle2 |
nbWorkers |
integer. If > 1, the number of workers to use in |
a list
with entries mll
(the maximum likelihood-estimated
coefficients) and AICbest
(the AIC of the best models generating these coefficients)
bbmle::mle2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.