summary.TPidm: Summary method for a TPidm object

Description Usage Arguments Value Note Examples

View source: R/summary.TPidm.R

Description

Summary method for an object of class ‘TPidm’.

Usage

1
2
## 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 P_{ij}(s,t).

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 P_{ij}(s,t) for each level of covariate.

Examples

1
2
3
4
5
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

TP.idm documentation built on May 29, 2017, 11:41 a.m.