R/tools.R
upgrade_state.Rd
Upgrade model state
upgrade_state(state_orig, info_orig, info_new, allowed = NULL)
Old model info
New model info
Character vector of allowed states to add; new values will be initialised as zeros.
A new copy of the state