Learn R Programming

BMSC (version 0.2.1)

plotModelFit: Plot errors of all models

Description

This plot is automatically produced with the execution of getBestModel.

Usage

plotModelFit(models, thresholdSE = 1, loos = NULL,
  markBestModel = TRUE)

Arguments

models

List with models of class ConstrainedLinReg

thresholdSE

numeric: Factor multiplied with standard error to obtain ends of error bars

loos

List with the model fit results for all models as returned by BMSC:::getLoo. If not provided, they are computed from the model list, which can take some time.

markBestModel

boolean: highlight position of the best model in the model list