## Not run:
#
# ## Note: This example assumes a boolean model has already been fit.
#
# ## Plot predicted probabilities for a fitted model. Either vars or
# ## newdata *must* be specified.
# boolprob(fit, vars = c("x1_a", "x4_b"))
# boolprob(fit, vars = c(2, 3, 4, 6))
#
# ## Specifying conf.int = TRUE produces simulated confidence intervals.
# ## The number of samples to pull from the distribution of the estimated
# ## coefficients is controlled by n; n=100 is default. This can take a
# ## while.
# (prob <- boolprob(fit, vars = c(2, 3, 4, 6), n = 1000, conf.int = TRUE))
# ## End(Not run)
Run the code above in your browser using DataLab