For each FAMoS run famos.performance
plots the corresponding best model and information criterion.
famos.performance(input, path = getwd(), ic = "AICc",
save.output = NULL, log = FALSE, plot.style = "block")
Either a string giving the three-digit number of the corresponding FAMoS run, e.g "004", or a matrix containing the tested models along with the respective information criteria.
If input
is the string of an FAMoS run, the directory containing the "FAMoS-Results" folder needs to be supplied as well. Default to getwd
.
The information criterion the model selection will be based on. Options are "AICc", "AIC" and "BIC". Default to "AICc".
A string containing the location and name under which the figure should be saved (format is .pdf). Default to NULL.
If true, the results are plotted on a logarithmic scale. Default to FALSE.
Changes the style of the plot. Options are either "cross" or "block" (default).
A plot showing the value of the corresponding information criterion and best model of each FAMoS iteration.
The upper plot shows the improvement of the selected information criterion over each FAMoS iteration. The best value is shown on the right axis. The lower plot depicts the corresponding best model of each iteration. Here, green circles show added, red circles removed and blue circles swapped parameters. The parameters of the final model are printed bold.
# NOT RUN {
#plot the performance of an FAMoS run
famos.performance(input = famos.run, log = TRUE)
# }
Run the code above in your browser using DataLab