print.AalenJohansen {timeEL} | R Documentation |
Print function for object of class 'AalenJohansen'
Description
Print function for object of class 'AalenJohansen'
Usage
## S3 method for class 'AalenJohansen'
print(x, digits = 4, method = NULL, ...)
Arguments
x |
an object of class 'AalenJohansen' |
digits |
number of digits to print the results |
method |
either "EL", "Wald" or "both", depending on whether we want to print the results obtained when using empirical likelihood inference (EL), Wald-type inference (Wald) or both. Default is 'NULL', which means that 'method' inherits the value of the corresponding control parameter used when creating the object 'x'. |
... |
Not used |
Value
no return value, called for printing only.
Author(s)
Paul Blanche
Examples
x <- AalenJohansen(time=melanoma5$time, cause=melanoma5$status, t=4, level=0.95)
print(x, digits=3, method="EL")
[Package timeEL version 0.9.1 Index]