base_hist_constr: Histogram Constructor for 'base' Plot

View source: R/graphs_utils.R

base_hist_constrR Documentation

Histogram Constructor for 'base' Plot

Description

Helper to create histogram.

Usage

base_hist_constr(
  x,
  type,
  br,
  normalize,
  fill,
  smooth,
  lwd,
  lty,
  col,
  alpha,
  border,
  include.lowest = TRUE,
  right = TRUE
)

Arguments

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.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.