randomize_matrix_cb: Randomize matrix using the curve ball algorithm

View source: R/randomize_matrix_cb.R

randomize_matrix_cbR Documentation

Randomize matrix using the curve ball algorithm

Description

Randomize a matrix using the curve ball algorithm. This keeps the sum of rows and columns constant.

Usage

randomize_matrix_cb(matrix)

Arguments

matrix

matrix to be randomized.

Details

The curve ball algorithm was described by Strona et al. (2014) doi:10.1038/ncomms5114.

Value

A randomized matrix.


claununez/biosurvey documentation built on April 25, 2024, 12:24 a.m.