cuthill_mckee: Cuthill McKee (CM) algorithm

Description Usage Arguments Value Author(s)

View source: R/cor_mat_generators.R

Description

Transform sparse matrix into a banded matrix. Code inspired by the netprioR package.

Usage

1
cuthill_mckee(x, reverse = FALSE, return_all = FALSE)

Arguments

x

Input matrix. Must be square and symmetric.

Value

A list with the reordered matrix 'x' and the ordering 'order'.

Author(s)

Fabian Schmich


Tveten/capacc documentation built on Sept. 29, 2021, 5:31 a.m.