permute: Permuting functions for gpuR
objects
Description
Generate a permutation of row or column indices
Usage
permute(x, MARGIN, order)
Arguments
MARGIN
dimension over which the ordering should be applied, 1
indicates rows, 2 indicates columns
order
An integer vector indicating order of rows to assign