| TBF_ingredients {TBFmultinomial} | R Documentation | 
Ingredients to calculate the TBF
Description
This function calculates the ingredients needed to compute the TBFs: like the deviances with their degrees of freedom of the relevant candidate models.
Usage
TBF_ingredients(fullModel = NULL, data, discreteSurv = FALSE,
  numberCores = 1, candidateModels = NULL, package = "nnet",
  maxit = 150)
Arguments
| 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  | 
Value
an object of class TBF.ingredients
Author(s)
Rachel Heyard