hist.zcurve_RoBMA | R Documentation |
Plots a histogram of observed z-values for a fitted zcurve_RoBMA
object, with options to customize the plotting range, bin width, and display of significance thresholds.
## S3 method for class 'zcurve_RoBMA'
hist(
x,
plot_type = "base",
from = -6,
to = 6,
by = 0.5,
length.out = NULL,
plot_thresholds = TRUE,
...
)
x |
A |
plot_type |
whether to use a base plot |
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 bin width for the histogram. Defaults to 0.5. |
length.out |
Optional integer specifying the number of bins. If NULL, determined by |
plot_thresholds |
Logical; should significance thresholds be displayed on the plot? Defaults to TRUE. |
... |
Additional arguments passed to the underlying plotting functions. |
Returns NULL
if plot_type = "base"
, or a ggplot2
object if plot_type = "ggplot2"
.
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.