sanitize_coxmodel.coxph: Check if the coxph model is correctly specified.
Description
Check the covariates of the coxph model.
Usage
# S3 method for coxph
sanitize_coxmodel(model, trt, ...)
Value
No return value. This is called for its side effects.
Arguments
- model
A coxph model from survival package.
- trt
Character. Name of the treatment assignment variable.