dPlot | R Documentation |
Create a plot showing the densities of values in columns of a data frame
dPlot(x, title = "", xlab = "score", ylab = "Frequency", ymax = 0, xmin = NULL)
x |
data.frame object where the density of columnar values will be plotted |
title |
Character indicating plot title |
xlab |
Character indicating the x-axis label. Default is 'score' |
ylab |
Character indicating the y-axis label. Default is 'Frequency' |
ymax |
Numeric value indicating the maximum y-value. If values are potentially greater than ymax, ymax will be adjusted to relfect the new maximum (rounded to 6 decimal points). |
xmin |
Numeric value indicating the minimum x-value. Default is NULL, meaning the x-axis limits will range from the negative maximum absolute x-value to the positive maximum absolue x-value. |
A plot with filled densities for each column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.