ggbnec_data {bayesnec} | R Documentation |
Creates the data.frame for plotting with autoplot
.
Description
Creates the data.frame for plotting with autoplot
.
Usage
ggbnec_data(x, add_nec = TRUE, add_ecx = FALSE, xform = identity, ...)
Arguments
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 |
Value
A data.frame
.
Examples
library(bayesnec)
options(mc.cores = 2)
data(manec_example)
ggbnec_data(manec_example)
ggbnec_data(manec_example, add_ecx = TRUE, ecx_val = 50)
[Package bayesnec version 2.1.2.0 Index]