Debian Codegraph @

man/sort_dist_mat.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/cor_cophenetic.R
3 \name{sort_dist_mat}
4 \alias{sort_dist_mat}
5 \title{Sorts a distance matrix by rows and columns names}
6 \usage{
7 sort_dist_mat(dist_mat, by_rows = TRUE, by_cols = TRUE, ...)
8 }
9 \arguments{
10 \item{dist_mat}{a distance matrix.}
11
12 \item{by_rows}{logical (TRUE). Sort the distance matrix by rows?}
13
14 \item{by_cols}{logical (TRUE). Sort the distance matrix by columns?}
15
16 \item{...}{Ignored.}
17 }
18 \value{
19 A distance matrix (after sorting)
20 }
21 \description{
22 Sorts a distance matrix by the names of the rows and columns.
23 }
24 \seealso{
25 \link{dist}, \link{cor_cophenetic}
26 }