gplot.density: gplot method for kernel density estimation

View source: R/gplots.R

gplot.densityR Documentation

gplot method for kernel density estimation

Description

The gplot method for density objects

Usage

## S3 method for class 'density'
gplot(
  x,
  main = NULL,
  xlab = NULL,
  ylab = "Density",
  type = "l",
  zero.line = TRUE,
  grid = TRUE,
  col.grid = "grey90",
  col.acc = "white",
  ...
)

Arguments

x

a "density" object.

main, xlab, ylab, type

plotting parameters with useful defaults.

zero.line

logical; if TRUE, add a base line at y = 0

grid

logical; if TRUE, a background grid will be drawn

col.grid

grid color

col.acc

grid accent color

...

further plotting parameters.


raredd/plotr documentation built on Nov. 19, 2023, 4:09 a.m.