Histogram in 1d using the grid package

hist_1d_grid(
  zargs,
  breaks = NULL,
  length.out = 21,
  col = NULL,
  fill = NULL,
  draw = FALSE,
  ...
)

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

colour of the histogram bar interiors, unless fill is specified, then this is the colour of the border

fill

logical passed to the underlying rectGrob()

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Author

Marius Hofert and Wayne Oldford