markovchain_transition_time_estimator.Rd
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"),
...
)
object of class TransitionSystem
containing history of all transitions upto the current time current_time
dataframe containing transitions for which a transition end time needs to be generated
POSIXct containing the current time. All transition end times will be after the specified current time.
dataframe with additional column pred_duration
in seconds.