View source: R/graphing_functions.R
Plots a density plot using ggplot2.
1 | density_plot(data, variable, title = NULL, xlab = NULL, ylab = "Density")
|
data |
The dataset that contains the variable to be plotted |
variable |
The variable to be plotted |
title |
The title of the figure. By default set to |
xlab |
The x label of the figure. By default set to |
ylab |
The y label of the figure. By default set to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.