Description Usage Arguments Value Note See Also
This is a helper unction used by the run
function. It creates the runlines that can used by a nonlinear least squares (nls) function like nls
.
1 2 3 | create_runline(NLSsolver,NLSalgorithm,NLScontrol,NLSdata,
NLSstart,NLSlower,NLSupper,NLSweights,NLSsubset,
NLSna.action=NULL,NLSmasked=NULL)
|
NLSsolver |
a string that is the name of an nls function viz. |
NLSalgorithm |
a string that is the name of the algorithm used in the solver. For exmaple, "marquardt", "plinear", "port", etc. |
NLScontrol |
a list of control settings. See, for example, |
NLSdata |
a dataframe that contains the nonlinear problem data |
NLSstart |
a named list or named numeric vector of starting estimates. |
NLSlower |
vector of lower bound |
NLSupper |
vector of upper bound |
NLSweights |
a numeric vector of (fixed) weights. When present, the objective function is weighted least squares. |
NLSsubset |
an vector specifying a subset of observations to be used in the fitting process |
NLSna.action |
a function which indicates what should happen when the data contain NAs. |
NLSmasked |
Character vector of quoted parameter names. See |
Returns a string used inside run
This is a helper function used inside run
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.