Learn R Programming

⚠️There's a newer version (1.1-0) of this package.Take me there.

arrayhelpers (version 0.75-20111128)

Convenience functions for arrays

Description

Some convenient functions to work with arrays

Copy Link

Version

Install

install.packages('arrayhelpers')

Monthly Downloads

5,060

Version

0.75-20111128

License

GPL

Maintainer

C. Beleites

Last Published

November 29th, 2011

Functions in arrayhelpers (0.75-20111128)

groupsum

Extension of rowsum
ndim

number of dimensions
rowsum

rowsum for arrays
peek

A little stack.
numericindex

Convert character or logical indices to numeric
array2vec

Converting array and vector Indices Calculate the vector index from array indices, and vice versa.
countRows

Count equal rows
array2df

array2df
delold

Strip the attributes keeping track of the former shape
colSums

Row and column sums and means for numeric arrays.
arrayhelpers.unittest

Run the unit tests
arrayhelpers-package

Little helper functions to work with arrays
dropdimnames

Drop dimnames if all elements are NULL
ensuredim

Enforce array and convert to vector if appropriate
ta

Transpose arrays
makeNd

Ensure/collapse an array into n dimensions and restore the old dimensions