create_runlines: Create runlines to be used by 'run()'

Description Usage Arguments Value Note See Also

Description

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.

Usage

1
2
3
create_runline(NLSsolver,NLSalgorithm,NLScontrol,NLSdata,
			NLSstart,NLSlower,NLSupper,NLSweights,NLSsubset,
			NLSna.action=NULL,NLSmasked=NULL)

Arguments

NLSsolver

a string that is the name of an nls function viz. nlxb.

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, nls.control,nls.lm.control.

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 nlxb

Value

Returns a string used inside run

Note

This is a helper function used inside run.

See Also

run


ArkaB-DS/nlsCompare documentation built on Jan. 1, 2022, 2 p.m.