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
)
A girafe
object if interactive==TRUE, otherwise a ggplot2
.
A tibble with the calculated association measures for the matrix plot.
Either of class pairwise
or identical in structure to object of class pairwise
.
The variable pair order to be used. The default NULL means pairs are in order of their first appearance in scores
. A value of
"seriate_max" means pairs are in order of maximum absolute scores. A value of "seriate_max_diff" means
pairs are in order of maximum scores difference.
The geom to be used. Should be "point" or "tile".
When geom= "point" is used, should the points be connected by lines? Defaults to FALSE.
a numeric vector of length specifying the limits of the scale.
used for geom_tile with a value of NA
defaults to FALSE
plot_pairwise_linear(pairwise_scores(iris))
plot_pairwise_linear(pairwise_scores(iris,by="Species"))
plot_pairwise_linear(pairwise_multi(iris), geom="point")
Run the code above in your browser using DataLab