lines.zcurve_RoBMA | R Documentation |
Adds lines to a plot of a fitted zcurve_RoBMA object. This function is typically used to overlay additional information or model fits on an existing plot.
## S3 method for class 'zcurve_RoBMA'
lines(
x,
conditional = FALSE,
plot_type = "base",
probs = c(0.025, 0.975),
max_samples = 500,
extrapolate = FALSE,
plot_CI = TRUE,
from = -6,
to = 6,
by = 0.05,
length.out = NULL,
col = if (extrapolate) "blue" else "black",
...
)
x |
A RoBMA object |
conditional |
whether conditional estimates should be
plotted. Defaults to |
plot_type |
whether to use a base plot |
probs |
quantiles of the posterior samples to be displayed.
Defaults to |
max_samples |
Maximum number of samples from the posterior distribution that will be used for estimating z-curve estimates. |
extrapolate |
Logical indicating whether to extrapolate values beyond the observed data range. |
plot_CI |
Should credible intervals be included in the plot? Defaults to TRUE. |
from |
Lower bound of the z-value range for plotting. Defaults to -6. |
to |
Upper bound of the z-value range for plotting. Defaults to 6. |
by |
Numeric value specifying the increment for the sequence. |
length.out |
Optional integer specifying the desired length of the output sequence. |
col |
Color of the plotted line. |
... |
list of additional graphical arguments
to be passed to the plotting function. Supported arguments
are |
as_zcurve()
, plot.zcurve_RoBMA()
, hist.zcurve_RoBMA()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.