model-classes: General S4 classes for representing models for comparison

Description Details

Description

The BFmodel is a general S4 class for representing models for comparison. The more classes BFlinearModel, BFindepSample, and BFoneSample inherit directly from BFmodel.

Details

These model classes all have the following slots defined:

type

Model type

identifier

a list uniquely identifying the model from other models of the same type

prior

list giving appropriate prior settings for the model

dataTypes

a character vector whose names are possible columns in the data; elements specify the corresponding data type, currently one of c("fixed","random","continuous")

shortName

a short, readable identifying string

longName

a longer, readable identifying string

version

character string giving the version and revision number of the package that the model was created in


BayesFactor documentation built on May 2, 2019, 5:54 p.m.