densityplot: DensityPlot

Description Usage Arguments Value Author(s) References Examples

View source: R/densityplot.R

Description

Plots densities of data points in addition to cross-plot points.

Usage

1
2
3
densityplot(mat, main = NULL, x.ticks = 10, rounding = 0,
  add.points = TRUE, col = "red", adjust = 1, size = 1,
  legend = FALSE)

Arguments

mat

Data matrix to plot. The first two columns will be visualized as a cross-plot.

main

title text

x.ticks

Number of ticks on the X axis

rounding

Rounding for X axis tick values

add.points

Plot the data points as well

col

Color of the data points

adjust

Kernel width adjustment

size

point size

legend

plot legend TRUE/FALSE

Value

ggplot2 object

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
p <- densityplot(cbind(rnorm(100), rnorm(100)))

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.