# Typical usage. demo_fit is an mcpfit object.
plot(demo_fit)
# \donttest{
plot(demo_fit, prior = TRUE) # The prior
plot(demo_fit, lines = 0, q_fit = TRUE) # 95% HDI without lines
plot(demo_fit, q_predict = c(0.1, 0.9)) # 80% prediction interval
plot(demo_fit, which_y = "sigma", lines = 100) # The variance parameter on y
# Show a panel for each varying effect
# plot(fit, facet_by = "my_column")
# Customize plots using regular ggplot2
library(ggplot2)
plot(demo_fit) + theme_bw(15) + ggtitle("Great plot!")
# }
Run the code above in your browser using DataLab