fortify.density: Convert 'stats::density' to 'data.frame'

Description Usage Arguments Value Examples

View source: R/fortify_stats_density.R

Description

Convert stats::density to data.frame

Usage

1
2
## S3 method for class 'density'
fortify(model, data = NULL, ...)

Arguments

model

stats::density instance

data

original dataset, if needed

...

other arguments passed to methods

Value

data.frame

Examples

1
fortify(stats::density(stats::rnorm(1:50)))

sinhrks/ggfortify documentation built on May 26, 2018, 6:24 p.m.