hist_ci {swash} | R Documentation |
Creating Histograms with Confidence Intervals
Description
Plot of a histogram of a given vector x
and the related confidence intervals (lower
, upper
).
Usage
hist_ci(
x,
alpha = 0.05,
col_bars = "grey",
col_ci = "red",
...
)
Arguments
x |
A numeric vector |
alpha |
Significance level |
col_bars |
Color of bars in histogram |
col_ci |
Color of lines for confidence interval |
... |
Additional arguments passed to |
Details
Helper function for plot(sbm_ci)
, but may be used separately.
Value
Histogram plot, no returned value
Author(s)
Thomas Wieland
Examples
numeric_vector <- c(1,9,5,6,3,10,20,6,9,14,3,5,8,6,11)
# any numeric vector
hist_ci(numeric_vector)
[Package swash version 1.2.2 Index]