intHist: Shrinks values and plots a histogram

View source: R/plots.R

intHistR Documentation

Shrinks values and plots a histogram

Description

Shrinks values and plots a histogram.

Usage

intHist(
  x,
  range = c(round(min(x, na.rm = TRUE)) - 0.5, round(max(x, na.rm = TRUE)) + 0.5),
  step = 1,
  ...
)

Arguments

x

a vector of values to shrink and plot a histogram from.

range

two values specifying the range to shrink x to.

step

a value specifying the step distance between the breaks for hist().

...

additional arguments to be passed to hist().

Value

Returns the histogram.

Author(s)

Rehrauer, Hubert

Schmid, Peter

See Also

hist

Examples

intHist(1:10)

uzh/ezRun documentation built on April 24, 2024, 4:01 p.m.