Description Usage Arguments Examples
Make a density plot with histogram
1 2 3 4 5 6 7 8 |
data |
a data.frame |
mapping |
Set of aesthetic mappings created by aes or aes_. |
linecolor |
Color of density curve |
addhist |
Whether add histogram or not |
use.label |
Logical. Whether or not use column label in case of labelled data |
use.labels |
Logical. Whether or not use value labels in case of labelled data |
1 2 3 4 5 6 7 |
Loading required package: ggplot2
Loading required package: moonBook
Attaching package: 'moonBook'
The following objects are masked from 'package:ggiraphExtra':
addLabelDf, getMapping
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.