Description Usage Arguments Value
This is useful for getting a quick idea of the distribution of a column of data. It also draws a line for the median.
1 2 | densityPlot(df, column, lowerx = -10, upperx = 10,
title = "Density of Whatever You're Plotting")
|
df |
The name of the dataframe, not in quotes. |
column |
The name of the column, not in quotes, that will be graphed. |
lowerx |
The lower bound of the x-axis to show on the chart. Default is -10. |
upperx |
The upper bound of the x-axis to show on the chart. Default is 10. |
title |
The title, in quotes, that you want to give to the plot. Default = "Density of Whatever You're Plotting". |
Densit plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.