Learn R Programming

MAPCtools (version 0.1.0)

model_selection_criteria_table: Make a table of model fit scores

Description

Generates a table summarizing the provided model fit scores.

Usage

model_selection_criteria_table(
  dic_scores = NULL,
  waic_scores = NULL,
  log_scores = NULL
)

Value

A table summarizing the model fit scores, as a ggplot object.

Arguments

dic_scores

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

waic_scores

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

log_scores

Named list of log-scores scores (derived from CPO scores). Names correspond to the model.