powered by
stats::density
data.frame
Convert stats::density to data.frame
# S3 method for density fortify(model, data = NULL, ...)
stats::density instance
original dataset, if needed
other arguments passed to methods
fortify(stats::density(stats::rnorm(1:50)))
Run the code above in your browser using DataLab