plot_prior {MixSIAR} | R Documentation |
Plot prior
Description
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.
Usage
plot_prior(
alpha.prior = 1,
source,
plot_save_pdf = TRUE,
plot_save_png = FALSE,
filename = "prior_plot"
)
Arguments
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") |
[Package MixSIAR version 3.1.12 Index]