markovchain_transition_time_estimator | R Documentation |
This function generates random transition time (status durations)
based on the average observed transition times
(given by argument histobj
).
MarkovChain transition time generator assumes transition times have normal distribution.
This is the default time generator engine for the transition system monte-carlo simulation.
markovchain_transition_time_estimator(
histobj,
input,
current_time,
family = c("normal", "exponential", "exp", "gaussian", "norm"),
...
)
histobj |
object of class |
input |
dataframe containing transitions for which a transition end time needs to be generated |
current_time |
POSIXct containing the current time. All transition end times will be after the specified current time. |
dataframe with additional column pred_duration
in seconds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.