probtrans functionFor 'msm' objects: determine transition probabilities
(as in probtrans) from an
msm object. Currently only direction = "forward" is supported.
For 'npmsm' objects: Determine transition probabilities for an 'npmsm' object
using the probtrans function.
For 'msfit' objects: Wrapper for probtrans
# S3 method for msm
transprob(object, predt, times, ...)# S3 method for npmsm
transprob(object, ...)
# S3 method for msfit
transprob(object, ...)
transprob(object, ...)
A probtrans object containing the estimated transition probabilities.
Object of compatible class
A positive number indicating the prediction time. This is
the time at which the prediction is made. If missing, smallest time of
times is chosen.
A vector of times at which the transition probabilities should be determined.
Further arguments to probtrans
Can be used for objects of class 'npmsm', 'msm' and 'msfit'