Upgrade model state

upgrade_state(state_orig, info_orig, info_new, allowed = NULL)

Arguments

state_orig

Old model info

info_orig

Old model info

info_new

New model info

allowed

Character vector of allowed states to add; new values will be initialised as zeros.

Value

A new copy of the state