This is an internal function to construct a survival formula based on a glmBfp object with censInd not null.
writeFormula(models.listpart, time.var, status.var)
the glmBfp object for which to construct the survival formula
the name of the time variable as character string
the name of the censoring indicator variable as character string
The formula object based on the glmBfp object.