all_formulas: Formulas of all the candidate models
Description
This function retrieves the formulas of all the candidate models if the
reference model is the null / baseline model.
Usage
all_formulas(fullModel, discreteSurv = TRUE)
Arguments
fullModel
formula of the model including all potential variables
discreteSurv
Boolean variable telling us whether a `simple'
multinomial regression is looked for or if the goal is a discrete
survival-time model for multiple modes of failure is needed.
Value
character vector with all the formulas; the first one will be the
reference model; the last element will be the full model.