plot_abc | R Documentation |
Plot area between curves, posterior and prior.
plot_abc(
data,
fill = "#2980B9",
alpha = 0.7,
plot = TRUE,
xlab = NULL,
ylab = NULL,
title = NULL,
...
)
data |
Data frame with posterior and prior values. This can be obtained
with |
fill |
Filling colour between curves. |
alpha |
Transparency value for the shaded area between curves. |
plot |
Boolean flag to indicate whether a plot should be generated or just return a data frame with posterior and prior values. |
xlab |
|
ylab |
|
title |
Plot title. |
... |
Optional parameters for
|
List with ggplot2
object and area between curves (ABC).
## Not run:
out <- read.table("Bacon_runs/core/core_K.out")
out <- plot_acc(out$K, out$output)
plot_abc(out$data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.