Convenience Functions for Arrays


[Up] [Top]

Documentation for package ‘arrayhelpers’ version 1.1-0

Help Pages

arrayhelpers-package Package arrayhelpers
array2df array2df
array2vec Converting array and vector Indices Calculate the vector index from array indices, and vice versa.
arrayhelpers.unittest Run the unit tests
colMeans-method Row and column sums and means for numeric arrays.
colMeans.AsIs Row and column sums and means for numeric arrays.
colSums-method Row and column sums and means for numeric arrays.
colSums.AsIs Row and column sums and means for numeric arrays.
countRows Count equal rows
delold Strip the attributes keeping track of the former shape
drop1d Enforce array and convert to vector if appropriate
dropdimnames Drop dimnames if all elements are 'NULL'
ensuredim Enforce array and convert to vector if appropriate
groupsum Extension of 'rowsum'
lon Drop dimnames if all elements are 'NULL'
makeNd Ensure/collapse an array into 'n' dimensions and restore the old dimensions
ndim number of dimensions
numericindex Convert character or logical indices to numeric
peek A little stack.
pop A little stack.
push<- A little stack.
restoredim Ensure/collapse an array into 'n' dimensions and restore the old dimensions
rowMeans-method Row and column sums and means for numeric arrays.
rowMeans.AsIs Row and column sums and means for numeric arrays.
rowsum-method rowsum for arrays
rowSums-method Row and column sums and means for numeric arrays.
rowSums.AsIs Row and column sums and means for numeric arrays.
slice alternative to index an array
slice<- alternative to index an array
ta Transpose arrays
vec2array Converting array and vector Indices Calculate the vector index from array indices, and vice versa.