greedyRearrangeColumn: Rearrange columns of two matrices for match in a greedy way

Description Usage Arguments Value Examples

Description

Rearrange columns of two matrices for match in a greedy way

Usage

1

Arguments

mat1

Matrix to align to.

mat2

Matrix to be rearranged.

Value

Vector of order to be applied to columns of mat2.

Examples

1
2
3
4
5
## Not run: 
column_order <- GreedyRearrangeColumn(mat1, mat2)
mat2 <- mat2[, column_order]

## End(Not run)

wuxiaotiankevin/pLDA documentation built on Nov. 11, 2019, 11:01 p.m.