Learn R Programming

BMS (version 0.3.5)

variable.names.bma: Variable names and design matrix

Description

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

Usage

# S3 method for 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

Run this code

 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
 

Run the code above in your browser using DataLab