Learn R Programming

gpuR (version 2.0.6)

permute: Permuting functions for gpuR objects

Description

Generate a permutation of row or column indices

Usage

permute(x, MARGIN, order)

Value

A gpuR object

Arguments

x

A gpuR matrix object

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

Author

Charles Determan Jr.