hist_boxplot {packHV} | R Documentation |
Plots a histogram with a boxplot below
hist_boxplot(x, freq = TRUE, density = FALSE, main = NULL,
xlab = NULL, ymax = NULL, ...)
x |
a numeric vector |
freq |
boolean, |
density |
boolean, |
main |
character string, main title of the histogram |
xlab |
character string, label of the x axis |
ymax |
numeric value, maximum of the y axis |
... |
other arguments to be passed in |
None
Hugo Varet
par(mfrow=c(1,2))
hist_boxplot(rnorm(100),col="lightblue",freq=TRUE)
hist_boxplot(rnorm(100),col="lightblue",freq=FALSE,density=TRUE)