estimate_censoring_prob.Rd
A simple function to estimate censoring probabilities given the model object
and estimating approach supplied in a model_specification
objects
estimate_censoring_prob(
models,
data,
new_data = NULL,
weights = NULL,
accumulate = TRUE,
cens_formula = NULL
)
A model_specification
object
Source data used to fit model
Data where predictions are required (if NULL then prediction are made in source data)
A vector of observation weights
Indicates whether to produce one entry per subject rather than one entry per observation
A formula providing the censoring model. If NULL
then
A vector of estimated censoring probabilities