rearrangepartition: Rearrange matrix based on binary partition vector

Description Usage Arguments Value Author(s) References See Also

View source: R/rearrangepartition.r

Description

Rearrange matrix based on binary partition vector

Usage

1
rearrangepartition(X, partition)

Arguments

X

numeric array or matrix

partition

binary partition vector with 1 representing block 1 and 0 representing block 2

fix.first

don't change the order of the first column

Value

numeric matrix with a minimal row sum variance

Author(s)

Kris Boudt, kris.boudt@vub.ac.be

Edgars Jakobsons, edgars.jakobsons@math.ethz.ch

Steven Vanduffel, steven.vanduffel@vub.ac.be

Kristof Verbeken, kristof.verbeken@vub.ac.be

References

http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2634669

See Also

ra for the rearrangement algorithm

blockra for the block rearrangement algorithm


blockra documentation built on May 2, 2019, 5:19 p.m.