mcSample {bbl} | R Documentation |
Uses fitted BBL model to explore predictor distributions
mcSample(object, nsteps = 1000, verbose = 1, progress.bar = TRUE)
object |
Object of class |
nsteps |
Total number of MC steps |
verbose |
Verbosity level of output |
progress.bar |
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.
titanic <- as.data.frame(Titanic)
b <- bbl(Survived~., data=titanic[,1:4], weights=titanic$Freq)
pxy <- mcSample(b)
pxy