glmBfp (version 0.0-51)

writeFormula: Construct a survival formula based on a glmBfp object with censInd not null.

Description

This is an internal function to construct a survival formula based on a glmBfp object with censInd not null.

Usage

writeFormula(models.listpart, time.var, status.var)

Arguments

models.listpart

the glmBfp object for which to construct the survival formula

time.var

the name of the time variable as character string

status.var

the name of the censoring indicator variable as character string

Value

The formula object based on the glmBfp object.