Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

array_reorder

Reorder an array


Description

Reorder an array

Usage

array_reorder(x, dims, reorder_dim, new_order, item_size)

Arguments

x

The array; doesn't have to have a dim attribute; is just assumed to be a vector

dims

The dimensionality of the array

reorder_dim

The dimension to reorder

new_order

The new ordering of the reorder_dim; not checked for correctness; 1-based

item_size

The size in bytes of each array item; not discovered automatically

Details

Reorders an array using a fast underlying c-function. It is implemented for its simple generality and only intended for internal use in the package.

Value

The re-ordered array

Author(s)

Holger Hoefling


hdf5r

Interface to the 'HDF5' Binary Data Format

v1.3.3
Apache License 2.0 | file LICENSE
Authors
Holger Hoefling [aut, cre], Mario Annau [aut], Novartis Institute for BioMedical Research (NIBR) [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.