plot_prior
plots your prior on the global diet proportions (p.global)
and the uninformative prior side-by-side. Your prior is in red, and the
"uninformative"/generalist prior (alpha = 1) in dark grey.
plot_prior( alpha.prior = 1, source, plot_save_pdf = TRUE, plot_save_png = FALSE, filename = "prior_plot" )
alpha.prior | vector of alpha (dirichlet hyperparameters, none can be = 0) |
---|---|
source | output from |
plot_save_pdf | T/F, save the plot as a pdf? |
plot_save_png | T/F, save the plot as a png? |
filename | name of the file to save (e.g. "prior_plot") |