grouped_ggcorrmat | R Documentation |
Helper function for ggstatsplot::ggcorrmat()
to apply this function across
multiple levels of a given factor and combining the resulting plots using
ggstatsplot::combine_plots()
.
grouped_ggcorrmat(
data,
...,
grouping.var,
plotgrid.args = list(),
annotation.args = list()
)
data |
A data frame from which variables specified are to be taken. |
... |
Arguments passed on to
|
grouping.var |
A single grouping variable. |
plotgrid.args |
A |
annotation.args |
A |
For details, see: https://indrajeetpatil.github.io/ggstatsplot/articles/web_only/ggcorrmat.html
ggcorrmat
, ggscatterstats
,
grouped_ggscatterstats
set.seed(123)
grouped_ggcorrmat(
data = iris,
grouping.var = Species,
type = "robust",
p.adjust.method = "holm",
plotgrid.args = list(ncol = 1L),
annotation.args = list(tag_levels = "i")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.