
EXPERIMENTAL: Outcome model for recurrent events with terminal events end-points
Source:R/outcome_models.R
outcome_recurrent.RdThis function is still in an experimental state where the interface and functionality might change in the future
Arguments
- data
data.frame (covariates)
- lp
linear predictor (formula or function)
- par
optional list of model parameter
- outcome.name
names of outcome (time and censoring status)
- remove
variables that will be removed from input data (if formula is not specified)
- model
optional mets::phreg object
- death.model
optional model for death (terminal) events
- death.lp
optional death linear predictor argument (formula or function)
- death.par
optional list of death model parameters
- cens.model
optional model for censoring mechanism
- cens.lp
optional censoring linear predictor argument (formula or function)
- cens.par
optional list of censoring model parameters
- ...
Additional arguments to outcome_lp