| summary.p3state {p3state.msm} | R Documentation |
Provides results for an object of class p3state. It gives the estimated transition probabilities, bivariate distribution of the gap times and marginal distribution of the second gap time (the last two only available for the progressive three-state model). Provides also the results for the fit of semi-parametric Cox regression models.
summary.p3state(object, model = NULL, covmat = NULL, estimate = NULL, time1 = NULL, time2 = NULL, ...)
object |
an object of class p3state. |
model |
A character string specifying which model(s) to fit. Possible values are "TDCM", "CMM" and "CSMM". If NULL none of the regression models will be implemented. |
covmat |
Return the variance-covariance matrices? By default covmat=FALSE. |
estimate |
If TRUE nonparametric estimates are given. These include: transition probabilities, bivariate distribution function and marginal distribution of the second time (the last two only for the progressive three-state model). |
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. |
... |
Further arguments for summary. |
Luis Meira-Machado and Javier Roca-Pardinas
data(heart2) res.p3state<-p3state(heart2, formula=~age+year) summary(res.p3state,model="CMM",time1=20,time2=100)