print.cuminc {cmprsk} | R Documentation |
Print cuminc objects
Description
A print method for objects of class cuminc (output from cuminc()
).
Usage
## 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 |
... |
additional arguments to |
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
[Package cmprsk version 2.2-12 Index]