Learn R Programming

mets (version 1.3.11)

cifregFG: Fine-Gray Cumulative Incidence Function Regression

Description

Convenience wrapper for cifreg that specifically fits the Fine-Gray model by setting propodds=NULL. This provides subdistribution hazard ratio interpretations.

Usage

cifregFG(formula, data, propodds = NULL, ...)

Value

An object of class "cifreg" (extending "phreg") with propodds=NULL.

Arguments

formula

Formula with an 'Event' outcome.

data

Data frame.

propodds

Set to NULL to fit the Fine-Gray model (default behavior of this function).

...

Additional arguments passed to cifreg.

Author

Thomas Scheike

See Also

cifreg