Extracts a given model and refits it, returning the fitted model object.
best_model_fit(df = NULL, ModelBestFit = NULL, Scheme = NULL, Pop = NULL, Cores = NULL, Iterations = 10000, BurnIn = 5000, Alpha = 0.99, Treedepth = 10)
df | A dataframe of fitted model results |
---|---|
ModelBestFit | A character string identifying the model to refit. |
Scheme | A character string identifying which scheme to refit the model for. |
Pop | A character string identifying the population to refit the model for. |
Cores | Numeric, defaults to the number of cores available minus 1. How many cores to use for the analysis. |
Iterations | Numeric, the number of iterations to use for the MCMC sampler. Defaults to 10000. |
BurnIn | Numeric, the number of iterations to use for the burn in. Defaults to 5000. |
Alpha | Numeric, set the adaptive alpha value for the MCMC. Defaults to 0.99 |
Treedepth | Numeric, set the maximum tree depth. Defaults to 10. |
Fitted model object
Base_Model