Learn R Programming

arrayhelpers (version 1.1-0)

Convenience Functions for Arrays

Description

Some convenient functions to work with arrays.

Copy Link

Version

Install

install.packages('arrayhelpers')

Monthly Downloads

5,060

Version

1.1-0

License

GPL

Maintainer

C Beleites

Last Published

February 4th, 2020

Functions in arrayhelpers (1.1-0)

numericindex

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

rowsum for arrays
ta

Transpose arrays
array2vec

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

A little stack.
slice

alternative to index an array
makeNd

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

number of dimensions
dropdimnames

Drop dimnames if all elements are NULL
ensuredim

Enforce array and convert to vector if appropriate
countRows

Count equal rows
arrayhelpers-package

Package arrayhelpers
arrayhelpers.unittest

Run the unit tests
delold

Strip the attributes keeping track of the former shape
groupsum

Extension of rowsum
array2df

array2df
colSums,matrix-method

Row and column sums and means for numeric arrays.