This function reads and formats censored bivariate survival data in the
following way. If df
is provided, failure times and censoring
indicadors are assumed to be columns named 't1', 't2', 'delta1', and
'delta2'. Other columns not named 'id' (ignoring case) are taken to be
predictors. If df
has no columns 'delta1' or 'delta2', observations
are taken as exact.
If df
is not provided, then t1
and t2
are expected to be
objects of class 'Surv' created by Surv
and the model
does not use predictors. Only right-censored observations are supported. Only
df
or t1
and t2
must be supplied. df
argument
comes first for use in pipes.