enumerateGeneralModels: Function for generation of nested linear models

Description Usage Arguments Details

View source: R/generalTest-utility.R

Description

Generate lists of nested models, given a model formula

Usage

1
2
enumerateGeneralModels(fmla, whichModels, neverExclude = NULL,
  includeBottom = TRUE, data = NULL)

Arguments

fmla

formula for the "full" model

whichModels

which subsets of models to generate

neverExclude

a character vector of terms to never remove

includeBottom

Include the base model containing only neverExclude terms

data

a data frame containing the columns mentioned in fmla

Details

This is a backend function not intended for users. It is exposed for third-party applications.


BayesFactor documentation built on May 2, 2019, 7 a.m.