View source: R/descriptive_plot.R
descriptive_plot | R Documentation |
Plot density with descriptive statistics for numerical values.
descriptive_plot(data, ..., labels = NULL, ylab = "Density")
data |
data.frame. |
... |
additional arguments to be passed to |
labels |
A vector with x-axis labels. |
ylab |
y-axis label. |
descriptive_plot
function returns a plot with density and descriptive statistics.
Cesar Gamboa-Sanabria
df <- data.frame(var1=rpois(50, 6), var2=rgamma(50, shape=5,rate=.4), var3=rnorm(50, 10))
descriptive_plot(df, var1, var3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.