View source: R/transprob_npmsm.R
| transprob.msm | R Documentation |
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 class 'msm'
transprob(object, predt, times, ...)
## S3 method for class 'npmsm'
transprob(object, ...)
## S3 method for class 'msfit'
transprob(object, ...)
transprob(object, ...)
object |
Object of compatible class |
predt |
A positive number indicating the prediction time. This is
the time at which the prediction is made. If missing, smallest time of
|
times |
A vector of times at which the transition probabilities should be determined. |
... |
Further arguments to |
Can be used for objects of class 'npmsm', 'msm' and 'msfit'
A probtrans object containing the estimated transition probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.