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

View source: R/fortify_stats_density.R

fortify.densityR Documentation

Convert stats::density to data.frame

Description

Convert stats::density to data.frame

Usage

## 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

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

ggfortify documentation built on May 29, 2024, 7:19 a.m.