Density plot in 2d using R's base graphics

density_2d_graphics(
  zargs,
  ngrids = 25,
  drawlabels = FALSE,
  axes = FALSE,
  box = FALSE,
  add = FALSE,
  group... = NULL,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

ngrids

number of grid points in each dimension. Can be scalar or a length-2 integer vector.

drawlabels

logical indicating whether the contours should be labelled

axes

logicial indicating whether axes should be drawn

box

logical indicating whether a box should be drawn

add

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

group...

list of arguments passed to group_2d_graphics (or NULL)

...

additional arguments passed to points()

Value

invisible()

Author

Marius Hofert and Wayne Oldford