View source: R/plot_pairwise.R
plot_pairwise_linear | R Documentation |
Plots the calculated measures of association among different variable pairs for a dataset in a linear layout.
plot_pairwise_linear(
scores,
pair_order = "seriate_max",
geom = c("tile", "point"),
add_lines = FALSE,
score_limits = NULL,
na.value = "grey80",
interactive = FALSE
)
scores |
A tibble with the calculated association measures for the matrix plot.
Either of class |
pair_order |
The variable pair order to be used. The default NULL means pairs are in order of their first appearance in |
geom |
The geom to be used. Should be "point" or "tile". |
add_lines |
When geom= "point" is used, should the points be connected by lines? Defaults to FALSE. |
score_limits |
a numeric vector of length specifying the limits of the scale. |
na.value |
used for geom_tile with a value of NA |
interactive |
defaults to FALSE |
A girafe
object if interactive==TRUE, otherwise a ggplot2
.
plot_pairwise_linear(pairwise_scores(iris))
plot_pairwise_linear(pairwise_scores(iris,by="Species"))
plot_pairwise_linear(pairwise_multi(iris), geom="point")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.