# NOT RUN {
######################
# Load diabetes data #
######################
data(diabetes)
attach(diabetes)
X <- scale(diabetes$x)
y <- scale(diabetes$y)
################################
# Fit the IGG regression model #
################################
igg.model <- igg(X=X, y=y, max.steps=5000, burnin=2500)
##############################
# Posterior median estimates #
##############################
igg.model$beta.med
###########################################
# 95 percent posterior credible intervals #
###########################################
igg.model$beta.intervals
######################
# Variable selection #
######################
igg.model$igg.classifications
# }
Run the code above in your browser using DataLab