Learn R Programming

MAPCtools (version 0.1.0)

plot_model_selection_criteria: Make a plot of model fit scores

Description

Makes a plot summarizing the model fit scores of a set of models, and ranks the models based on their score.

Usage

plot_model_selection_criteria(scores, title = NULL, alphabetic = FALSE)

Value

Plot summarizing the model fit scores, and ranking the models based on their scores.

Arguments

scores

Named list of model fit scores. Names correspond to the model.

title

(Optional) Plot title; defaults to the name of scores.

alphabetic

(Optional) TRUE/FALSE, indicating if models are to be sorted alphabetically along the horizontal axis. Defaults to FALSE.

Details

The function assumes lower scores are preferable, so the models with the lowest scores are ranked higher.