powered by
autoplot
Creates the data.frame for plotting with autoplot.
ggbnec_data(x, add_nec = TRUE, add_ecx = FALSE, xform = identity, ...)
A data.frame.
data.frame
An object of class bayesnecfit or bayesmanecfit, as returned by function bnec.
bayesnecfit
bayesmanecfit
bnec
Should NEC values be added to the plot? Defaults to TRUE.
Should ECx values be added to the plot? Defaults to FALSE.
A function to apply to the returned estimated concentration values.
Additional arguments to be passed to ecx. By default, function ecx returns EC10.
ecx
# \donttest{ library(bayesnec) options(mc.cores = 2) data(manec_example) ggbnec_data(manec_example) ggbnec_data(manec_example, add_ecx = TRUE, ecx_val = 50) # }
Run the code above in your browser using DataLab