estimate_outcome_cph.Rd
estimate_outcome_cph: a function to estimate an outcome risk using cph function in R
estimate_outcome_cph(
models,
data,
new_data,
times,
boot_wts = NULL,
out_formula = NULL
)
An object of type model_specification
Source data
Data where outcome probabilities are made
The times at which to predict the outcomes
A vector of observation weights
A formula providing the outcome model. If NULL
then the
A vector of estimated outcome probabilities