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.7-any)arrayhelpers_1.1-0.zip(r-4.6-any)arrayhelpers_1.1-0.zip(r-4.5-any)
arrayhelpers_1.1-0.tgz(r-4.6-any)arrayhelpers_1.1-0.tgz(r-4.5-any)
arrayhelpers_1.1-0.tar.gz(r-4.7-any)arrayhelpers_1.1-0.tar.gz(r-4.6-any)
arrayhelpers_1.1-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
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.48 score 30 packages 55 scripts 6.1k downloads 26 exports 1 dependencies

Last updated from:2ecb230b31. Checks:2 ERROR, 7 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR116
source / vignettesOK197
linux-releaseOK103
macos-releaseOK98
macos-oldrelOK103
windows-develERROR106
windows-releaseOK59
windows-oldrelOK58
wasm-releaseOK99

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