create_censoring_indicators.Rd
cens_indic
is a function that takes the incoming data and data structure and
builds a matrix of censoring indicator variables. This saves the user from
having to create these by hand.
create_censoring_indicators(
data,
models,
tau = NULL,
cumcount = FALSE,
tau_censor = FALSE
)
Data frame
A object of type model_specification
A administrative censoring time, if NULL then set to maximum observed censoring/event time + epsilon
Setup the censoring indicators for cumulative count estimation
For backward compatabiity before 0.36.17. Treat censoring at end of follow-up (tau) as a censoring event to be included in censoring models? Defaults to FALSE.
A matrix of censoring indicator variables