Learn R Programming

gptk (version 1.0)

modelExtractParam: Extract the parameters of a model.

Description

Extract parameters from the model into a vector of parameters for optimisation.

Usage

param <- modelExtractParam(model, only.values=TRUE, untransformed.values=FALSE)

Arguments

model
the model structure containing the parameters to be extracted.
only.values
include parameter names in the returned vector.
untransformed.values
return actual values, not transformed values used by the optimisers.

Value

  • paramvector of parameters extracted from the model.

See Also

modelExpandParam