Returns a single value if argument tp equals "p11", "p12", or "p22".
Returns a list if argument tp equals "all".
Arguments
object
Component datafr of an object of class p3state.
time1
The first time for obtaining estimates for the transition probabilities,
bivariate distribution function. NULL is equivalent to 0.
time2
The second time for obtaining estimates for the bivariate distribution function.
tp
Optional argument:
tp="all" (default value) to obtain all the transition probabilities p11, p12 and p22;
tp="p11" to obtain only p11;
tp="p12" to obtain only p12;
tp="p22" to obtain only p22.
Author
Luis Meira-Machado, Javier Roca-Pardinas and Artur Araújo
References
Meira-Machado L., Roca-Pardinas J. (2011).
p3state.msm: Analyzing Survival Data from an Illness-Death Model.
Journal of Statistical Software, 38(3), 1-18. tools:::Rd_expr_doi("10.18637/jss.v038.i03")