Correlation to x-y plots. This stat is indended for providing correlations e.g. above the diagonal of a pairs plot
stat_corr(
mapping = NULL,
data = NULL,
geom = "text",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
...
)
Set of aesthetic mappings created by aes or aes_.
The data to be displayed in this layer.
Use to override the default geom
Position adjustment, either as a string, or the result of a call to a position adjustment function.
If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed.
logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes.
If FALSE, overrides the default aesthetics, rather than combining with them.
other arguments passed on to layer.
Provide normal QQplot