A setMethod for the run_state function

# S4 method for class 'RSVProgramme'
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

a matrix with all the values of the state variables in the dynamic transmission model