summary.TPidm {TP.idm} | R Documentation |
Summary method for a TPidm object
Description
Summary method for an object of class ‘TPidm’.
Usage
## S3 method for class 'TPidm'
summary(object, ...)
Arguments
object |
An object of class ‘TPidm’. |
... |
Further arguments to print. |
Value
A data.frame is returned with the following variables:
transition |
The initial and final states “i j” for each particular transition. |
probs |
The transition probabilities |
Note
The summary function prints the method used, the user-supplied times s and t, the possible transitions, the estimated transition probabilities and, optionally, confidence limits and variances.
If cov
is specified, the summary function provides the transition probabilities (s,t) for each level of covariate.
Examples
data(colonTP)
# create a TPidm object with s = 365, t = 1095, cov = "rx",
# CI = FALSE and method = "NM" (default):
nm365cov <- TPidm(colonTP, s = 365, t = 1095, cov = "rx", CI=FALSE)
summary(nm365cov) # summarizing the results
[Package TP.idm version 1.5.1 Index]