detect_structure: Detects whether there is structure in the stochastic epidemic...

Description Usage Arguments Value

View source: R/detect_structure.R

Description

Detects whether the model has absorbing states (exit from such states is impossible), and whether the model is progressive. If there is an absorbing state, no additional path sampling is needed once a subject has entered that state. If the model is progressive, it only moves forward through states and never returns to a previous state. Therefore, if the model is progressive and has an absorbing state, only the transition times in intervals where the state has changed need to be resampled.

Usage

1
detect_structure(epimodel)

Arguments

epimodel

Value

objects in the epimodel environment: absorbing states (or FALSE if none), and with TRUE/FALSE for whether the model is progressive.


fintzij/BDAepimodel documentation built on Sept. 20, 2020, 1:44 p.m.