Rdocumentation
powered by
Learn R Programming
reportRx (version 1.0)
crrRx: fit crr model
Description
Wrapper function to fit fine and gray competing risk model using function crr from package cmprsk
Usage
crrRx(f, data)
Arguments
f
formula for the model. Currently the formula only works by using the name of the column in a dataframe. It does not work by using $ or [] notation.
data
dataframe containing data