powered by
Uses fitted BBL model to explore predictor distributions
mcSample(object, nsteps = 1000, verbose = 1, progress.bar = TRUE)
Object of class bbl
bbl
Total number of MC steps
Verbosity level of output
Display progress bar
After bbl fit, the resulting model is used by this function to sample predictor distributions in each response group and find the most likely preditor set using MCMC.
# NOT RUN { titanic <- as.data.frame(Titanic) b <- bbl(Survived~., data=titanic[,1:4], weights=titanic$Freq) pxy <- mcSample(b) pxy # }
Run the code above in your browser using DataLab