estimate_censor_coxph.Rd
estimate_censor_coxph: a function to estimate a censoring probability using coxph
estimate_censor_coxph(
formula,
models,
data,
new_data,
weights = NULL,
args = NULL,
alltimes = FALSE,
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 coxph (currently not used)
Indicates whether to estimate probabilities at all times or only event times
Indicates whether to produce one entry per subject rather than one entry per observation
A vector of estimated censoring probabilities