Description Usage Arguments Details Value See Also
Add density curves to the diagonal panels of ggcorrm plots.
1 | dia_density(mapping = NULL, lower = 0.3, upper = 0.98, ...)
|
mapping |
Set of aesthetic mappings created by aes. |
lower |
numeric between 0 and 1. Lower limit of the histograms/frequency
polygons relative to the range of the |
upper |
numeric between 0 and 1. Upper limit of the histograms/frequency
polygons relative to the range of the |
... |
Additional parameters for |
dia_density()
adds density curves to the diagonal panels of
ggcorrm
plots. The placement of the curves is adjusted based on
geom_dia_density()
. The lower
andupper
arguments can be used to
offset the density curves from zero and optimally fit them to the range of
each panel.The standard values are chosen to work well when placing text
labels under the histograms/frequency polygons with dia_names.
A ggplot2
layer with histograms or frequency polygons for the
variables on the plot diagonal of ggcorrm
plots.
ggplot2::geom_density()
,
geom_dia_density()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.