| pLIDA | R Documentation | 
Computation of the transition probabilities.
pLIDA(object, time1, time2,tp=NULL)| 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. | 
Returns a single value if argument tp equals "p11", "p12", or "p22".
Returns a list if argument tp equals "all".
Luis Meira-Machado, Javier Roca-Pardinas and Artur Araújo
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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v038.i03")}
p3state
data(heart2)
res.p3state<-p3state(heart2)
pLIDA(res.p3state,time1=30,time2=300)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.