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

array_counter

Cycle through n-dimensional array indices


Description

Cycle through n-dimensional array indices

Usage

array_counter(count, dims)

Arguments

count

The counter (0-based)

dims

The sizes of the dimension

Details

Cycles through all indices of an n-dimensional array. The first dimension moves fastest. The counter is 0-based and the output is 0-based as well.

Value

An integer vector of the same length as dim, with 0-based indices

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.