Learn R Programming

BMSC (version 0.2.1)

prepPlotData: Prepare data to plot model fit

Description

Prepare data to plot model fit

Usage

prepPlotData(loos, modelNames, thresholdSE)

Arguments

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.

modelNames

Names for the models in the same order as they appear in loos

thresholdSE

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

Value

A data.frame with the columns Estimate (Estimate of the looic), SE, model, lower, and upper