scatterWithHist {davidTiling}R Documentation

Scatterplot with histograms of marginal distributions

Description

Scatterplot with histograms of marginal distributions.

Usage

scatterWithHist(x, breaks, barcols, xlab, ylab, ...) 

Arguments

x numeric matrix with 2 columns.
breaks numeric vector with histogram breaks, see hist.
barcols character vector of length 2, colors for the histogram filling.
xlab characterof length 1, label for x-axis.
ylab characterof length 1, label for y-axis.
... further arguments that get passed on to plot.

Details

Value

The function is called for its side effect.

Author(s)

W. Huber <huber@ebi.ac.uk>

Examples

  x = rexp(100)
  x = cbind(x, x+0.6*rnorm(length(x)))
  scatterWithHist(x,
     breaks=seq(min(x),max(x),length=20),
     barcols=c("mistyrose", "lightblue"),
     xlab="Daffodil", ylab="Petunia", pch=16)

[Package davidTiling version 1.2.4 Index]