print.AalenJohansen function

Print function for object of class 'AalenJohansen'

Print function for object of class 'AalenJohansen'

## 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

Returns

no return value, called for printing only.

Examples

x <- AalenJohansen(time=melanoma5$time, cause=melanoma5$status, t=4, level=0.95) print(x, digits=3, method="EL")

Author(s)

Paul Blanche

  • Maintainer: Paul Blanche
  • License: GPL (>= 3)
  • Last published: 2024-08-29

Useful links