Learn R Programming

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

arrayhelpers (version 0.76-20120816)

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.76-20120816

License

GPL

Maintainer

C. Beleites

Last Published

August 17th, 2012

Functions in arrayhelpers (0.76-20120816)

slice

alternative to index an array
ensuredim

Enforce array and convert to vector if appropriate
colSums

Row and column sums and means for numeric arrays.
ta

Transpose arrays
delold

Strip the attributes keeping track of the former shape
array2df

array2df
dropdimnames

Drop dimnames if all elements are NULL
groupsum

Extension of rowsum
ndim

number of dimensions
rowsum

rowsum for arrays
arrayhelpers-package

Little helper functions to work with arrays
numericindex

Convert character or logical indices to numeric
makeNd

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

Count equal rows
peek

A little stack.
arrayhelpers.unittest

Run the unit tests
array2vec

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