row.sort: sort rows of integer matrix

View source: R/package.R

row.sortR Documentation

sort rows of integer matrix

Description

Came from stackoverflow https://stackoverflow.com/questions/9506442/fastest-way-to-sort-each-row-of-a-large-matrix-in-r Rfast::rowsort is faster than the base function but it is still very fast

Usage

row.sort(a, use_rfast = TRUE)

kevinmhadi/khtools documentation built on Feb. 14, 2025, 10:25 a.m.