This is a generic function for running a state.
run_state(object, S_i = 1, direct = FALSE)
Arguments
- object
An object on which the state is to be run.
- S_i
An integer representing the state index. Default is 1.
- direct
A logical value indicating whether to run the state directly. Default is FALSE.
Value
The result of the state run, depending on the method implementation.