variable.names.bma {BMS}R 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,...)
 ## S3 method for class 'bma'
model.frame(formula,...)

Arguments

object

A bma object (as produced by bms)

formula

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.

Author(s)

Martin Feldkircher and Stefan Zeugner

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$X.data
 
 variable.names(bma_enum)[-1] # is equivalent to
 bma_enum$reg.names
 

[Package BMS version 0.3.1 Index]