Skip to contents

This function updates the initial state variables of a rodeo model object. It performs a check to ensure that the provided initial values vector matches the defined state variables of the model in terms of names.

Usage

set_initval(model, init)

Arguments

model

A rodeo model object.

init

A named numeric vector representing the initial values for the model's state variables. The names of this vector must match the names of the model's state variables exactly.

Value

The modified rodeo model object with updated initial values.