Learn R Programming

zenplots (version 1.0.6)

hist_1d_graphics: Histogram as 1d plot using R's base graphics

Description

Histogram as 1d plot using R's base graphics

Usage

hist_1d_graphics(
  zargs,
  breaks = NULL,
  length.out = 21,
  col = NULL,
  axes = FALSE,
  add = TRUE,
  plot... = NULL,
  ...
)

Value

invisible()

Arguments

zargs

argument list as passed from zenplot()

breaks

see ?hist; the default is 20 equi-width bins covering the data range

length.out

number of break points if breaks = NULL

col

vector of colors for the bars or bar components; see ?barplot

axes

logicial indicating whether axes should be drawn

add

logical indicating whether this plot should be added to the last one

plot...

additional arguments passed to plot_region()

...

additional arguments passed to barplot()

Author

Marius Hofert and Wayne Oldford

See Also

Other default 1d plot functions using R's base graphics: arrow_1d_graphics(), boxplot_1d_graphics(), density_1d_graphics(), jitter_1d_graphics(), label_1d_graphics(), lines_1d_graphics(), points_1d_graphics(), rect_1d_graphics(), rug_1d_graphics()

Other default 1d plot functions: arrow_1d_graphics(), arrow_1d_grid(), arrow_1d_loon(), boxplot_1d_graphics(), boxplot_1d_grid(), boxplot_1d_loon(), density_1d_graphics(), density_1d_grid(), density_1d_loon(), extract_1d(), hist_1d_grid(), hist_1d_loon(), jitter_1d_graphics(), jitter_1d_grid(), jitter_1d_loon(), label_1d_graphics(), label_1d_grid(), label_1d_loon(), lines_1d_graphics(), lines_1d_grid(), lines_1d_loon(), points_1d_graphics(), points_1d_grid(), points_1d_loon(), rect_1d_graphics(), rect_1d_grid(), rect_1d_loon(), rug_1d_graphics(), rug_1d_grid(), rug_1d_loon()