plotDensity: Plots density distributions for a set of vectors

Description Usage Arguments Author(s) See Also

Description

Plots density distributions for a set of vectors.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'data.frame'
plotDensity(X, ..., xlab=NULL)
## S3 method for class 'matrix'
plotDensity(X, ..., xlab=NULL)
## S3 method for class 'numeric'
plotDensity(X, ..., xlab=NULL)
## S3 method for class 'list'
plotDensity(X, W=NULL, xlim=NULL, ylim=NULL, xlab=NULL,
  ylab="density (integrates to one)", col=1:length(X), lty=NULL, lwd=NULL, ...,
  add=FALSE)

Arguments

X

A single of list of numeric vectors or density objects, a numeric matrix, or a numeric data.frame.

W

(optional) weights of similar data types and dimensions as X.

xlim,ylim

character vector of length 2. The x and y limits.

xlab,ylab

character string for labels on x and y axis.

col

The color(s) of the curves.

lty

The types of curves.

lwd

The width of curves.

...

Additional arguments passed to density, plot, and lines.

add

If TRUE, the curves are plotted in the current plot, otherwise a new is created.

Author(s)

Henrik Bengtsson

See Also

Internally, density is used to estimate the empirical density.


HenrikBengtsson/aroma.light-BioC_release documentation built on May 7, 2019, 1:55 a.m.