xplot_pairs | R Documentation |
Following the xpose
design pattern to derive <ggpairs
> plots.
Established xplot_
are used to generate parts of the grid.
xplot_pairs(
xpdb,
mapping = NULL,
cont_opts = list(group = "ID", guide = FALSE, type = "ps"),
dist_opts = list(guide = FALSE, type = "hr"),
cat_opts = list(type = "bo", log = NULL),
contcont_opts = list(other_fun = NULL, stars = FALSE, digits = reportable_digits(xpdb),
title = "Pearson Corr"),
catcont_opts = list(other_fun = NULL, stars = FALSE, digits = reportable_digits(xpdb),
title = "Spearman rho"),
catcat_opts = list(use_rho = TRUE),
title = NULL,
subtitle = NULL,
caption = NULL,
tag = NULL,
plot_name = "pairs",
gg_theme,
xp_theme,
opt,
quiet,
progress = rlang::is_interactive() && quiet,
switch = NULL,
...
)
xpdb |
< |
mapping |
|
cont_opts |
List of options to pass to |
dist_opts |
List of options to pass to |
cat_opts |
List of options to pass to |
contcont_opts |
List of options to pass to |
catcont_opts |
List of options to pass to |
catcat_opts |
A list with |
title |
Plot title |
subtitle |
Plot subtitle |
caption |
Plot caption |
tag |
Plot tag |
plot_name |
Metadata name of plot |
gg_theme |
As in |
xp_theme |
As in |
opt |
Processing options for fetched data |
quiet |
Silence extra debugging output |
progress |
Show a progress bar as the plot is generated? |
switch |
Passed to |
... |
Ignored |
There is only limited control over the underlying ggpairs()
call given
the need to address abstractions in GGally
and xpose
. However, users
can modify key display features. For scatter
, distribution
and boxplots
,
the type
option is directly forwarded to the user. For upper elements of the matrix,
users can modify features of the text displayed or supply some other
function entirely (other_fun
).
_opts
lists are consumed with <modifyList
> from the default,
so there is no need to declare preferences that align with the default if updating
a subset.
specified pair plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.