nlsList Fit from a selfStart Function
Usage
nlsList(model, data, start, control, level, na.action, pool)
Arguments
model
|
a selfStart model function, which calculates
initial estimates for the model parameters from data .
|
data
|
a data frame in which to interpret the variables in
model . Because no grouping factor can be specified in
model , data must inherit from class
groupedData .
|
other arguments
|
identical to the arguments in the generic
function call. See the documentation on nlsList .
|
Description
The response variable and primary covariate in formula(data)
are used together with model
to construct the nonlinear model
formula. This is used in the nls
calls and, because a
selfStarting model function can calculate initial estimates for its
parameters from the data, no starting estimates need to be provided.Value
a list of nls
objects with as many components as the number of
groups defined by the grouping factor. A NULL
value is assigned
to the components corresponding to clusters for which the nls
algorithm failed to converge. Generic functions such as coef
,
fixed.effects
, lme
, pairs
, plot
,
predict
, random.effects
, summary
, and
update
have methods that can be applied to an nlsList
object.See Also
selfStart
, groupedData
, nls
,
nlme.nlsList
, nlsList.formula
Examples
library(lme)
data(Soybean)
## Will fail in 0.64.1 but should run in 0.65
fm1 <- nlsList(SSlogis, Soybean)