Description Usage Arguments Details Value See Also
View source: R/stat_heatcircle.R
stat_heatcircle()
is used to compute bivariate correlations
and display them in ggcorrm plots in form of circles whose color and size
indicate correlation strength.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
The geometric object to use display the data |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
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 passed to |
stat_heatcircle()
computes the outlines of circles that are
centered around the midpoint of gcorrm
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. The circles
are displayed using ggplot2::geom_ribbon()
.
An object of class Layer
.
ggplot2::layer()
,
add_heatcircle()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.