print.AalenJohansen | R Documentation |
Print function for object of class 'AalenJohansen'
## S3 method for class 'AalenJohansen'
print(x, digits = 4, method = NULL, ...)
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 |
no return value, called for printing only.
Paul Blanche
x <- AalenJohansen(time=melanoma5$time, cause=melanoma5$status, t=4, level=0.95)
print(x, digits=3, method="EL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.