print.cuminc: Print cuminc objects

Description Usage Arguments Details Author(s) See Also

View source: R/cmprsk.R

Description

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

Usage

1
2
## S3 method for class '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()

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.

Author(s)

Robert Gray

See Also

cuminc


cmprsk documentation built on May 29, 2017, 8 p.m.