bayesnec
standard ggplot2
plotting method.
# S3 method for class 'bayesnecfit'
autoplot(object, ..., nec = TRUE, ecx = FALSE, xform = identity)
# S3 method for class 'bayesmanecfit'
autoplot(
object,
...,
nec = TRUE,
ecx = FALSE,
xform = identity,
all_models = FALSE,
plot = TRUE,
ask = TRUE,
newpage = TRUE,
multi_facet = TRUE
)
An object of class bayesnecfit
or
bayesmanecfit
.
Additional arguments to be passed to ggbnec_data
.
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.
Should all individual models be plotted separately\ (defaults to FALSE) or should model averaged predictions be plotted instead?
Should output ggplot
output be plotted?
Only relevant if all = TRUE
and multi_facet = FALSE
.
Indicates if the user is prompted before a new page is plotted.
Only relevant if plot = TRUE
and multi_facet = FALSE
.
Indicates if the first set of plots should be plotted to a
new page. Only relevant if plot = TRUE
and
multi_facet = FALSE
.
Should all plots be plotted in one single panel via facets? Defaults to TRUE.
A ggplot
object.
if (FALSE) { # \dontrun{
library(brms)
nec4param <- pull_out(manec_example, "nec4param")
autoplot(nec4param)
autoplot(nec4param, nec = FALSE)
autoplot(nec4param, ecx = TRUE, ecx_val = 50)
# plot model averaged predictions
autoplot(manec_example)
# plot all panels together
autoplot(manec_example, ecx = TRUE, ecx_val = 50, all_models = TRUE)
} # }
if (FALSE) { # \dontrun{
# plots multiple models, one at a time, with interactive prompt
autoplot(manec_example, ecx = TRUE, ecx_val = 50, all_models = TRUE,
multi_facet = FALSE)
} # }