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)arrayhelpers_1.1-0.zip(r-4.6)arrayhelpers_1.1-0.zip(r-4.5)
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
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.45 score 30 packages 56 scripts 5.6k downloads 26 exports 1 dependencies

Last updated from:2ecb230b31. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK87
source / vignettesOK150
linux-release-x86_64OK123
macos-release-arm64OK71
macos-oldrel-arm64OK67
windows-develOK62
windows-releaseOK80
windows-oldrelOK72
wasm-releaseOK124

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