Package: arrayhelpers 1.1-0

C. Beleites

arrayhelpers: Convenience Functions for Arrays

Some convenient functions to work with arrays.

Authors:C. Beleites <[email protected]>

arrayhelpers_1.1-0.tar.gz
arrayhelpers_1.1-0.zip(r-4.5)arrayhelpers_1.1-0.zip(r-4.4)arrayhelpers_1.1-0.zip(r-4.3)
arrayhelpers_1.1-0.tgz(r-4.5-any)arrayhelpers_1.1-0.tgz(r-4.4-any)arrayhelpers_1.1-0.tgz(r-4.3-any)
arrayhelpers_1.1-0.tar.gz(r-4.5-noble)arrayhelpers_1.1-0.tar.gz(r-4.4-noble)
arrayhelpers_1.1-0.tgz(r-4.4-emscripten)arrayhelpers_1.1-0.tgz(r-4.3-emscripten)
arrayhelpers.pdf |arrayhelpers.html
arrayhelpers/json (API)

# Install 'arrayhelpers' in R:
install.packages('arrayhelpers', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://r-forge.r-project.org/projects/arrayhelpers

On CRAN:

Conda:

5.08 score 27 packages 32 scripts 4.6k downloads 26 exports 1 dependencies

Last updated 5 years agofrom:2ecb230b31. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 28 2025
R-4.5-winOKMar 28 2025
R-4.5-macOKMar 28 2025
R-4.5-linuxOKMar 28 2025
R-4.4-winOKMar 28 2025
R-4.4-macOKMar 28 2025
R-4.4-linuxOKMar 28 2025
R-4.3-winOKMar 28 2025
R-4.3-macOKMar 28 2025

Exports:array2dfarray2vecarrayhelpers.unittestcolMeanscolMeans.AsIscolSumscolSums.AsIsdelolddrop1ddropdimnamesensuredimgroupsumlonmakeNdndimnumericindexrestoredimrowMeansrowMeans.AsIsrowsumrowSumsrowSums.AsIssliceslice<-tavec2array

Dependencies:svUnit

Readme and manuals

Help Manual

Help pageTopics
Package arrayhelpersarrayhelpers-package
array2dfarray2df
Converting array and vector Indices Calculate the vector index from array indices, and vice versa.array2vec vec2array
Run the unit testsarrayhelpers.unittest
Row and column sums and means for numeric arrays.colMeans,array-method colMeans,matrix-method colMeans.AsIs colSums,array-method colSums,matrix-method colSums.AsIs rowMeans,array-method rowMeans,matrix-method rowMeans.AsIs rowSums,array-method rowSums,matrix-method rowSums.AsIs
Count equal rowscountRows
Strip the attributes keeping track of the former shapedelold
Drop dimnames if all elements are 'NULL'dropdimnames lon
Enforce array and convert to vector if appropriatedrop1d ensuredim
Extension of 'rowsum'groupsum
Ensure/collapse an array into 'n' dimensions and restore the old dimensionsmakeNd restoredim
number of dimensionsndim
Convert character or logical indices to numericnumericindex
A little stack.peek pop push<-
rowsum for arraysrowsum,array-method
alternative to index an arrayslice slice<-
Transpose arraysta