Learn R Programming

arrayhelpers (version 1.1-2)

Convenience Functions for Arrays

Description

Some convenient functions to work with arrays.

Copy Link

Version

Install

install.packages('arrayhelpers')

Monthly Downloads

6,924

Version

1.1-2

License

GPL

Maintainer

C Beleites

Last Published

July 24th, 2026

Functions in arrayhelpers (1.1-2)

arrayhelpers-package

Package arrayhelpers
delold

Strip the attributes keeping track of the former shape
ensuredim

Enforce array and convert to vector if appropriate
dropdimnames

Drop dimnames if all elements are NULL
arrayhelpers.unittest

Run the unit tests
countRows

Count equal rows
ndim

number of dimensions
makeNd

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

Convert character or logical indices to numeric
ta

Transpose arrays
array2vec

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

Extension of rowsum
colSums,matrix-method

Row and column sums and means for numeric arrays.
rowsum,array-method

rowsum for arrays
array2df

array2df
peek

A little stack.
slice

alternative to index an array