variable.names.bma: Variable names and design matrix

View source: R/aux_outer.R

variable.names.bmaR Documentation

Variable names and design matrix

Description

Simple utilities retrieving variable names and design matrix from a bma object

Usage

## S3 method for class 'bma'
variable.names(object, ...)

Arguments

object

A bma object (as produced by bms)

...

further arguments passed to or from other methods

Details

All functions are bma-functions for the generic methods variable.names, deviance, and model.frame.

See Also

bms for creating bma objects

Check http://bms.zeugner.eu for additional help.

Examples


 data(datafls)
 bma_enum=bms(datafls[1:20,1:10])
 
 model.frame(bma_enum) # similar to 
 bma_enum$arguments$X.data
 
 variable.names(bma_enum)[-1] # is equivalent to
 bma_enum$reg.names
 

BMS documentation built on Aug. 9, 2022, 5:08 p.m.