Density plot in 1d using the grid package

density_1d_grid(zargs, density... = NULL, offset = 0.08, draw = FALSE, ...)

Arguments

zargs

argument list as passed from zenplot()

density...

list of arguments for density()

offset

numerical value in $$[0, 0.5]$$ used to offset the density within the height 1 box in which it appears

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Author

Marius Hofert and Wayne Oldford