View source: R/data_io_functions.R
plot_best_solution | R Documentation |
Plot the best model among those for which Bayesian inference was done with the standard pipeline. The plot is a standard plot shows the 50% and +/- 2.5% quantiles. If an output file name is provided (plot_file_name), the plot is written to file. The format is detected from the extension (e.g., if plot_file_name is "analysis.pdf", a PDF file is written. If the extension is not one of pdf or png an error is thrown.
plot_best_solution(
data_dir,
analysis_name,
plot_file_name = NA,
add_known_density = FALSE
)
data_dir |
The directory in which to store analysis data. |
analysis_name |
A unique name for a given analysis in data_dir. |
plot_file_name |
An optional file name for saving the file |
do_bayesian_inference()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.