getValue calculates the initial value of a given expression or reference.

getInitialValue(expression, model = getCurrentModel())

Arguments

expression

Expressions to calculate as initial expressions, as character, finite numeric, or logical vector.

model

a model object

Value

a numeric vector of initial values

See also

getValue

Other expression functions: getValue()