Learn R Programming

compeir (version 1.0)

print.iprop: Print method for 'iprop' object

Description

Print method for an object of class iprop. By default it prints all competing events incidence proportions contained in iprop. It is also possible to select specific events or covariate values to be printed. Full sample incidence proportions might also be printed.

Usage

"print"(x, event.code = NULL, covar.code = NULL, full.sample = FALSE, display.digits = 4, ...)

Arguments

x
iprop object
event.code
A character or numerical value that specifies the respective competing events for which the result of iprop shall be printed. If NULL, event.code will be inherited from iprop
covar.code
A character or numerical value that specifies the respective covariates value(s) for which the result of iprop shall be printed. If NULL, covar.code will be inherited from iprop
full.sample
A logical value that specifies if results of iprop shall also be printed for the full sample, i.e., irrespective of any covariate value. Default is set to FALSE
display.digits
An integer value specifying the number of decimal place for all incidence proportions that shall be printed. Default is set to 4
...
Other arguments for print method

Value

No value is returned.

See Also

iprop