ggplot2_density: Density plot from a data frame using ggplot2

Description Usage Arguments Value Examples

View source: R/ggplot2_density.R

Description

Density plot from a data frame using ggplot2

Usage

1

Arguments

data

(compulsory) a data frame in which each column is a sample.

title

(optional) main title of the plot and the name of the file. Default: time stamp.

Value

a PDF plot that contains one page per column in data.

Examples

1
2
dat <- data.frame(A=rnorm(200), B=rnorm(200))
ggplot2_density(dat, title="test")

sarahbonnin/ggplot2Functions documentation built on Nov. 5, 2019, 6:14 a.m.