sort_binmat: order binary matrix by row

Description Usage Arguments Value Examples

View source: R/utils.R

Description

order binary matrix by row

Usage

1

Arguments

mat

binary matrix

...

arguments in order

Value

binary matrix (ordered by row)

Examples

1
sort_binmat(matrix(c(1, 1, 1, 0 , 1, 0, 1, 1,0),nrow=3,byrow=TRUE))

zhenkewu/slamR documentation built on March 8, 2020, 1:31 a.m.