Description Usage Arguments Value Author(s) Examples

This function retrieves the formulas of all the candidate models if the reference model is the null / baseline model.

1 | ```
all_formulas(fullModel, discreteSurv = TRUE)
``` |

`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. |

character vector with all the formulas; the first one will be the reference model; the last element will be the full model.

Rachel Heyard

1 2 3 4 5 | ```
data("VAP_data")
FULL <- outcome ~ ns(day, df = 4) + male + type + SOFA
models <- TBFmultinomial:::all_formulas(fullModel = FULL,
discreteSurv = TRUE)
# models
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.