Package: listarrays 0.4.0

listarrays: A Toolbox for Working with R Arrays in a Functional Programming Style

A toolbox for R arrays. Flexibly split, bind, reshape, modify, subset and name arrays.

Authors:Tomasz Kalinowski [aut, cre]

listarrays_0.4.0.tar.gz
listarrays_0.4.0.zip(r-4.5)listarrays_0.4.0.zip(r-4.4)listarrays_0.4.0.zip(r-4.3)
listarrays_0.4.0.tgz(r-4.4-any)listarrays_0.4.0.tgz(r-4.3-any)
listarrays_0.4.0.tar.gz(r-4.5-noble)listarrays_0.4.0.tar.gz(r-4.4-noble)
listarrays_0.4.0.tgz(r-4.4-emscripten)listarrays_0.4.0.tgz(r-4.3-emscripten)
listarrays.pdf |listarrays.html
listarrays/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/t-kalinowski/listarrays/issues

On CRAN:

4.49 score 14 stars 22 scripts 594 downloads 44 exports 0 dependencies

Last updated 7 months agofrom:b38f44fe77. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winOKNov 15 2024
R-4.5-linuxOKNov 15 2024
R-4.4-winNOTENov 15 2024
R-4.4-macNOTENov 15 2024
R-4.3-winNOTENov 15 2024
R-4.3-macNOTENov 15 2024

Exports:array2bind_as_colsbind_as_dimbind_as_rowsbind_on_colsbind_on_dimbind_on_rowsdecode_onehotDIMdim2<-DROPdrop_dimdrop_dim2drop_dimnamesexpand_dimsextract_colsextract_dimextract_rowsmap_along_colsmap_along_dimmap_along_rowsmatrix2modify_along_colsmodify_along_dimmodify_along_rowsndimonehotonehot_decoderonehot_with_decoderseq_along_colsseq_along_dimseq_along_rowsset_as_colsset_as_rowsset_dimset_dim2set_dimnamesshuffle_rowssplit_along_colssplit_along_dimsplit_along_rowssplit_on_colssplit_on_dimsplit_on_rows

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Make or reshape an array with C-style (row-major) semanticsarray2 dim2<- matrix2 set_dim2
Bind arrays along a specified dimensionbind_as_cols bind_as_dim bind_as_rows bind_on_cols bind_on_dim bind_on_rows
Helpers for working with 1-d arraysDIM DROP
Drop dimnamesdrop_dim drop_dim2 drop_dimnames
Expand the shape of an arrayexpand_dims
Extract with '[' on a specified dimensionextract_cols extract_dim extract_rows
Apply a function across subsets along an array dimensionmap_along_cols map_along_dim map_along_rows
Modify an array by mapping over 1 or more dimensionsmodify_along_cols modify_along_dim modify_along_rows
Length of 'DIM()'ndim
Convert vector to a onehot representation (binary class matrix)decode_onehot onehot onehot_decoder onehot_with_decoder
Sequence along a dimensionseq_along_cols seq_along_dim seq_along_rows
Reshape an array to send a dimension forward or backset_as_cols set_as_rows
Reshape an arrayset_dim
Set dimnamesset_dimnames
Shuffle along the first dimension multiple arrays in syncshuffle_rows
Split an array along a dimensionsplit_along_cols split_along_dim split_along_rows split_on_cols split_on_dim split_on_rows