bayesnechurdlefit plotR/bayesnechurdlefit-methods.R
ggbnec_data.bayesnechurdlefit.RdData underlying a bayesnechurdlefit plot
# S3 method for class 'bayesnechurdlefit'
ggbnec_data(
x,
add_nec = FALSE,
add_ecx = FALSE,
xform = NULL,
...,
which = "combined",
resolution = 1000,
x_range = NA,
x_scale = c("recorded", "fitted")
)An object of class bayesnechurdlefit.
FALSE, the default. The data hold no
estimates, so TRUE is refused: read the estimates with
nec or ecx and which, or draw them
with autoplot().
NULL, the default, or a function to apply to the
predictor on the scale x_scale selects. With an inline predictor
transformation, a function on the default recorded scale gives a warning.
Not used. dpar is refused, so select a curve with
which, and any other argument is refused as well.
Which curve(s) to return. See plot.
The number of unique predictor values.
A range of predictor values.
"recorded" (the default) or "fitted".
The fitted option returns the predictor on the scale transformed inside
crf(), with breaks in attribute "x_axis" labelled in
recorded units.
A list of two data.frames,
curve and raw, each carrying a panel column.