View source: R/ggparallel_specific_utils.R
create_distance_matrix | R Documentation |
Converts the results of count_all_edge_crossings()
into a distance matrix,
where each entry represents the number of crossings between two columns.
create_distance_matrix(data, as.dist = FALSE)
data |
A data frame with columns |
as.dist |
Logical; if |
A square matrix of distances, or a dist
object if as.dist = TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.