sanitize_coxmodel.coxph: Check if the coxph model is correctly specified.

View source: R/sanitize.R

sanitize_coxmodel.coxphR 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.


bunsen documentation built on June 8, 2025, 11:34 a.m.