Learn R Programming

idmTPreg (version 1.1)

print.TPreg: Printing the model fits

Description

Provides the details about the estimated effect of covariate(s) on pre-specified transition probabilities for given s and t.

Usage

# S3 method for TPreg
print(x, …)

Arguments

x

an object of class TPreg.

arguments to be passed to methods.

Value

print.TPreg returns a list with the following components:

Call

the matched call.

Transition

the specified transition(s).

(s,t)

the vector of current time and future time for the transition probabilities.

Coefficients

the matrix of coefficients, standard errors, lower confidence limits, upper confidence limits and p-values.

Also, trans= "all" will return Coefficients 11, Coefficients 12, Coefficients 13, and Coefficients 23.

Details

print.TPreg formats the coefficients, standard errors, etc. The coefficients component of the result gives the estimated coefficients, their estimated standard errors, their confidence bands, and the p-values. The print method returns the aforementioned results for the specified s and t.

See Also

TPreg, and generic functions summary.TPreg, and plot.TPreg.

Examples

Run this code
# NOT RUN {
## For examples see example TPreg.
# }

Run the code above in your browser using DataLab