Learn R Programming

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

arrayhelpers (version 1.0-20160527)

Convenience Functions for Arrays

Description

Some convenient functions to work with arrays.

Copy Link

Version

Install

install.packages('arrayhelpers')

Monthly Downloads

4,393

Version

1.0-20160527

License

GPL

Maintainer

C Beleites

Last Published

May 28th, 2016

Functions in arrayhelpers (1.0-20160527)

groupsum

Extension of rowsum
countRows

Count equal rows
arrayhelpers-package

Package arrayhelpers
ensuredim

Enforce array and convert to vector if appropriate
array2df

array2df
ta

Transpose arrays
makeNd

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

alternative to index an array
ndim

number of dimensions
peek

A little stack.
numericindex

Convert character or logical indices to numeric
rowsum,array-method

rowsum for arrays
delold

Strip the attributes keeping track of the former shape
array2vec

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

Run the unit tests
dropdimnames

Drop dimnames if all elements are NULL
colSums,matrix-method

Row and column sums and means for numeric arrays.