sort_matrix: Sort matrix

View source: R/contingency_tables_auxiliary_functions.R

sort_matrixR Documentation

Sort matrix

Description

Given a matrix, rearranges rows and columns so that row sums and col sums end up in ascending order.

Usage

sort_matrix(M)

Arguments

M

matrix

Value

rearranged matrix


clustAnalytics documentation built on May 29, 2024, 12:18 p.m.