Description Usage Arguments Details Value See Also
lotri_heatcircle()
and utri_heatcircle()
are used to display
circles whose fill and size aesthetics depend on correlation strength in
the lower/upper off-diagonal facets of ggcorrm plots.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | lotri_heatcircle(
mapping = NULL,
corr_method = NULL,
rmin = 0.1,
rmax = 0.9,
scale_by = c("area", "radius"),
...
)
utri_heatcircle(
mapping = NULL,
corr_method = NULL,
rmin = 0.1,
rmax = 0.9,
scale_by = c("area", "radius"),
...
)
|
mapping |
Set of aesthetic mappings created by aes. |
corr_method |
character string with the correlation method passed to
cor(). Can be one of |
rmin |
numeric (0 - 1). Minimum radius for the "heat circles" (as a proportion of panel width). Defaults to 0.1. |
rmax |
numeric (0 - 1). Maximum radius for the "heat circles" (as a proportion of panel width). Defaults to 0.9. |
scale_by |
character. |
... |
Additional arguments to stat_heatcircle. |
lotri_heatcircle()
and utri_heatcircle()
are wrappers around
stat_heatcircle()
that additionally take care of the right specification
of aesthetics.
stat_heatcircle()
computes the outlines of circles that are centered
around the midpoint of ggcorrm
facets and whose radius or area is
modified in dependence of correlation strength. rmin
and rmax
allow to
modify the range in which the radii of the circles may vary. By standard,
the fill
aesthetic is mapped to .corr
, but this can be overridden by
specifying a different mapping.
A ggplot2
layer with circles displaying correlation strength.
stat_heatcircle, stat_heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.