print.cuminc {cmprsk}R Documentation

Print cuminc objects

Description

A print method for objects of class cuminc (output from cuminc()).

Usage

print.cuminc(z, ntp=4, maxtime)

Arguments

z an object of class cuminc
ntp number of timepoints where estimates are printed
maxtime the maximum timepoint where values are printed. The default is the maximum time in the curves in z

Details

Prints the test statistics and p-values (if present in z), and for each estimated cumulative incidence curve prints its value and estimated variance at a vector of times. The times are chosen between 0 and maxtime using the pretty() function.

Author(s)

Robert Gray

See Also

cuminc