Package: narray 0.5.1

narray: Subset- And Name-Aware Array Utility Functions

Stacking arrays according to dimension names, subset-aware splitting and mapping of functions, intersecting along arbitrary dimensions, converting to and from data.frames, and many other helper functions.

Authors:Michael Schubert <[email protected]>

narray_0.5.1.tar.gz
narray_0.5.1.zip(r-4.5)narray_0.5.1.zip(r-4.4)narray_0.5.1.zip(r-4.3)
narray_0.5.1.tgz(r-4.4-x86_64)narray_0.5.1.tgz(r-4.4-arm64)narray_0.5.1.tgz(r-4.3-x86_64)narray_0.5.1.tgz(r-4.3-arm64)
narray_0.5.1.tar.gz(r-4.5-noble)narray_0.5.1.tar.gz(r-4.4-noble)
narray_0.5.1.tgz(r-4.4-emscripten)narray_0.5.1.tgz(r-4.3-emscripten)
narray.pdf |narray.html
narray/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mschubert/narray/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

arrayutility

6.65 score 27 stars 11 packages 10 scripts 899 downloads 22 exports 15 dependencies

Last updated 2 years agofrom:9e2176d0f7. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-win-x86_64NOTEOct 26 2024
R-4.5-linux-x86_64NOTEOct 26 2024
R-4.4-win-x86_64NOTEOct 26 2024
R-4.4-mac-x86_64NOTEOct 26 2024
R-4.4-mac-aarch64NOTEOct 26 2024
R-4.3-win-x86_64NOTEOct 26 2024
R-4.3-mac-x86_64NOTEOct 26 2024
R-4.3-mac-aarch64NOTEOct 26 2024

Exports:bindcollectconstructcrepdimdimnamesfilterflattenintersectintersect_listlambdalikemapmaskmeltreprrepsplitstacksubsettranslatewhich

Dependencies:clicrayongluehmslifecyclemagrittrpkgconfigprettyunitsprogressR6Rcpprlangstringistringrvctrs

narray Usage Examples

Rendered fromnarray.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-08-08
Started: 2016-11-23

Readme and manuals

Help Manual

Help pageTopics
Operator for array-like logical operations%or%
Binds arrays together disregarding namesbind
Converts a logical matrix to a list of character vectorscollect
Transform a data.frame with axes and value into an arrayconstruct
base::dim, but returning 1 for vectordim
Return dimension names of an array respecting the number of dimensionsdimnames
Drop unused dims if flag is TRUEdrop_if
Function to discard subsets of an array (NA or drop)filter
Flattens an array along an axisflatten
Infer array structure from data.frameguess_structure
Intersects all passed arrays along a give dimension, and modifies them in placeintersect
Intersects a lits of arrays for common dimension namesintersect_list
Lambda syntax for array iterationlambda
Reshapes 'x' to be like 'like', including dimension nameslike
Maps a function along an array preserving its structuremap
Apply function that preserves order of dimensionsmap_one
Converts a list of character vectors to a logical matrixmask
match() function with extended functionalitymatch
Function to melt data.frame from one or multiple arraysmelt
Return a list of named dot-argumentsnamed_dots
R package for subset- and name-aware array utility functionsnarray-package narray
Progress bar format to be consistentpb
Repeats an array along an arbitrary axiscrep rep rrep
If no dimnames, return NULL and not list of NULLsrestore_null_dimnames
Splits and array along a given axis, either totally or only subsetssplit
Stacks arrays while respecting names in each dimensionstack
Subsets an array using a list with indices or namessubset
Translate an axis between two sets of identifierstranslate
Converts vectors in a list to row- or column vectorsvectors_to_row_or_col
A multidimensional 'which' functionwhich