Learn R Programming

cmprsk (version 2.2-12)

print.cuminc: Print cuminc objects

Description

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

Usage

# S3 method for cuminc
print(x, ntp=4, maxtime, ...)

Arguments

x

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 x

...

additional arguments to print()

Author

Robert Gray

Details

Prints the test statistics and p-values (if present in x), 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.

See Also

cuminc