ggbnec_data | R Documentation |
autoplot
.Creates the data.frame for plotting with autoplot
.
ggbnec_data(x, add_nec = TRUE, add_ecx = FALSE, xform = identity, ...)
x |
An object of class |
add_nec |
Should NEC values be added to the plot? Defaults to TRUE. |
add_ecx |
Should ECx values be added to the plot? Defaults to FALSE. |
xform |
A function to apply to the returned estimated concentration values. |
... |
Additional arguments to be passed to |
A data.frame
.
library(bayesnec)
options(mc.cores = 2)
data(manec_example)
ggbnec_data(manec_example)
ggbnec_data(manec_example, add_ecx = TRUE, ecx_val = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.