Description Usage Arguments Value Author(s)

This function calculates the ingredients needed to compute the TBFs: like the deviances with their degrees of freedom of the relevant candidate models.

1 2 3 | ```
TBF_ingredients(fullModel = NULL, data, discreteSurv = FALSE,
numberCores = 1, candidateModels = NULL, package = "nnet",
maxit = 150)
``` |

`fullModel` |
formula of the model including all potential variables |

`data` |
the data frame with all the information |

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

`numberCores` |
How many cores should be used in parallel? |

`candidateModels` |
Instead of defining the full model we can also specify the candidate models whose deviance statistic and d.o.f should be computed |

`package` |
Which package should be used to fit the models; by default
the |

`maxit` |
Only needs to be specified with package |

an object of class `TBF.ingredients`

Rachel Heyard

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.