cens_indic_long 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_timevar_old(data, models, tau = NULL)

Arguments

data

Data frame

models

A object of type model_specification

tau

A administrative censoring time, if NULL then set to maximum observed censoring/event time + epsilon

Value

A matrix of censoring indicator variables

Author

M. Alan Brookhart