Description Generic function Methods Author(s) See Also Examples
For a given forumla (describing a model) and data this method applies the simple non- linear least squares algorithm - this calculates the parameters that minimisethe sum of squares difference between the observed (data) and predicted (model) values.
The algorithm can be sensitive to the initial values of the problem so do try different start points and check they converge to the same estimates.
nls(formula,data,start,control,algorithm,trace,subset,weights,na.action,model,lower,upper)
Applies non-linear sum of squares to the model and data in the input FLModel object.
The FLR Team
FLComp
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.