print.Btest {BayesVarSel}R Documentation

Print an object of class Btest

Description

Print an object of class Btest

Usage

## S3 method for class 'Btest'
print(x, ...)

Arguments

x

Object of class Btest

...

Additional parameters to be passed

See Also

See Btest for creating objects of the class Btest.

Examples

 ## Not run: 
#Analysis of Crime Data
#load data
data(UScrime)
#Model selection among the following models: (note model1 is nested in all the others)
model1<- y ~ 1 + Prob
model2<- y ~ 1 + Prob + Time
model3<- y ~ 1 + Prob + Po1 + Po2
model4<- y ~ 1 + Prob + So
model5<- y ~ .

#Equal prior probabilities for models:
crime.BF<- Btest(models=list(basemodel=model1,
	ProbTimemodel=model2, ProbPolmodel=model3,
	ProbSomodel=model4, fullmodel=model5), data=UScrime)
	crime.BF
	
## End(Not run)

[Package BayesVarSel version 2.2.5 Index]