View source: R/aicc_weights_function.R
aicc.weights | R Documentation |
Calculates the evidence ratios for each parameter based on Akaike weights and plots them.
aicc.weights(input = getwd(), mrun = NULL, reorder = TRUE, save.output = NULL)
input |
Either a string containing the directory which holds the "FAMoS-Results" folder or a matrix containing the tested models along with the respective information criteria. Default to |
mrun |
A string giving the number of the corresponding FAMoS run, e.g "004". If NULL (default), all FAMoS runs in the "FAMoS-Results/TestedModels/" folder will be used for evaluation. |
reorder |
If TRUE, results will be ordered by evidence ratios (descending). If FALSE, the order of parameters will be the same as the order specified in |
save.output |
A string containing the location and name under which the figure should be saved (format is pdf). Default to NULL. |
The plot shows the relative support or evidence ratio for each parameter. Parameters included in the best model are printed bold and the corresponding lines are coloured in red.
A plot showing the evidence ratios for all model parameters. Additionally, the evidence ratios are returned.
#plot evidence ratios
aicc.weights(input = famos.run)
aicc.weights(input = famos.run, reorder = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.