base_hist_constr | R Documentation |
Helper to create histogram.
base_hist_constr(
x,
type,
br,
normalize,
fill,
smooth,
lwd,
lty,
col,
alpha,
border,
include.lowest = TRUE,
right = TRUE
)
x |
a vector of values for which the histogram is desired. |
type |
histogram type. Default is missing. Allowed are "count" and "percent". |
br |
breakpoints given an interval and the number of pieces to break it into. |
normalize |
whether to normalize. Default is missing. |
fill |
whether to fill. Default is missing. |
smooth |
whether to smooth. Default is missing. |
lwd , lty , col , alpha , border |
graphical parameters. See par() from package 'graphics'. |
include.lowest |
logical; if TRUE, an x[i] equal to the breaks value will be included in the first (or last, for right = FALSE) bar. This will be ignored (with a warning) unless breaks is a vector. |
right |
logical; if TRUE, the histogram cells are right-closed (left open) intervals. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.