Learn R Programming

gptk (version 1.06)

modelExpandParam: Update a model structure with new parameters or update the posterior processes.

Description

Update a model structure or component with new parameters, or update the posterior processes.

Usage

modelExpandParam(model, params)
modelUpdateProcesses(model, predt=NULL)

Arguments

model
the model structure to be updated.
params
vector of parameters.
predt
.

Value

  • modelupdated model structure.

Details

model <- modelExpandParam(model, param) returns a model structure filled with the parameters in the given vector. This is used as a helper function to enable parameters to be optimised in, for example, the optimisation functions. model <- modelUpdateProcesses(model) updates posterior processes of the given model.

See Also

modelExtractParam