BMS (version 0.3.4)

variable.names.bma: Variable names and design matrix

Description

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

Usage

"variable.names"(object,...) "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.

See Also

bms for creating bma objects

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

Examples

Run this code
 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
 

Run the code above in your browser using DataLab