estimate_censor_cph.Rd
estimate_censor_cph: a function to estimate a censoring probability using cph
estimate_censor_cph(
formula,
models,
data,
new_data,
weights = NULL,
args = NULL,
accumulate = TRUE
)
A formula object
An object of type model_specification
Source data
Data where censoring probabilities are made
A vector of observation weights
Additional argument to cph (currently not used)
Indicates whether to produce one entry per subject rather than one entry per observation
A vector of estimated censoring probabilities