# NOT RUN {
## From UCI Machine Learning Repository.
data(spambase);
## A subset of the data.
sbase = spambase[seq(1,nrow(spambase),10),];
X = model.matrix(is.spam ~ word.freq.free + word.freq.1999, data=sbase);
y = sbase$is.spam;
## Run logistic regression.
output = logit(y, X, samp=1000, burn=100);
# }
Run the code above in your browser using DataLab