Learn R Programming

TP.idm (version 1.5.1)

summary.TPidm: Summary method for a TPidm object

Description

Summary method for an object of class ‘TPidm’.

Usage

# S3 method for TPidm
summary(object, ...)

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).

Arguments

object

An object of class ‘TPidm’.

...

Further arguments to print.

Examples

Run this code
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

Run the code above in your browser using DataLab