modelVec2List: Put values in a parameter vector into the coefficient...

Description Usage Arguments Details Value References See Also

View source: R/modelVec2List.R

Description

A system of linear differential equations is defined by a list of length equal to the number of variables in the system. Each member of this list defines a single linear differential equation. Within each equation there are typically one or more terms involving a coefficient function multiplying either a derivative of one of the variables, or multiplying a forcing function. The coefficient functions in term are defined by one or more parameters. For some coefficients, its parameters are regarded as fixed, but for others, they require estimation from the data. This function replaces all the parameters in the coefficient functions in a coefficient list object requiring estimation by values within a one-dimensional vector.

Usage

1
modelVec2List(modelList, thetavec)

Arguments

modelList

A list object containing the specifications of the model.

thetavec

A numeric vector containing values for all the parameters in a linear differential system that requires estimation.

Details

A coefficient specification can be made manually, or can set up in a by a single invocation of function make.coef.

Value

A numerical vector object containing values of the parameters to be estimated. The order of these parameters is the order in which they occur as each member of a model list object in turn is processed.

References

J. O. Ramsay and G. Hooker (2017) Dynamic Data Analysis. Springer.

See Also

modelList2Vec


Data2LD documentation built on Aug. 6, 2020, 1:08 a.m.