sanitize_coxmodel.coxph {bunsen}R Documentation

Check if the coxph model is correctly specified.

Description

Check the covariates of the coxph model.

Usage

## S3 method for class 'coxph'
sanitize_coxmodel(model, trt, ...)

Arguments

model

A coxph model from survival package.

trt

Character. Name of the treatment assignment variable.

Value

No return value. This is called for its side effects.


[Package bunsen version 0.1.0 Index]