a two-sided formula of the fitted survival model, without the longitudinal outcome in
the right side of the formula.
f2
a two-sided formula of the fitted survival model, same as f1 but with the longitudinal outcome
being the first covariate on the right side of the formula.
data
a data.frame containing the covariates in both f1 and f2.