Description Usage Arguments Value See Also

View source: R/cor_cophenetic.R

Sorts a distance matrix by the names of the rows and columns.

1 | ```
sort_dist_mat(dist_mat, by_rows = TRUE, by_cols = TRUE, ...)
``` |

`dist_mat` |
a distance matrix. |

`by_rows` |
logical (TRUE). Sort the distance matrix by rows? |

`by_cols` |
logical (TRUE). Sort the distance matrix by columns? |

`...` |
Ignored. |

A distance matrix (after sorting)

dist, cor_cophenetic

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.