Description Usage Arguments Value
View source: R/regadditivefit.R
fit an additive hazard without using IV method under competing risks settings
1 | regcompadditivefit(survtime, cause, Z = NULL)
|
survtime |
the event time |
cause |
the indicator records the cause. Default to all one. Zero means right censoring. Greater than or equal to two means other cause. |
Z |
a variable contains all the regressors |
the fitting result, a list containing the cofficients, the baseline function and
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.