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


[Up] [Top]

Documentation for package ‘listarrays’ version 0.4.0

Help Pages

array2 Make or reshape an array with C-style (row-major) semantics
bind_as_cols Bind arrays along a specified dimension
bind_as_dim Bind arrays along a specified dimension
bind_as_rows Bind arrays along a specified dimension
bind_on_cols Bind arrays along a specified dimension
bind_on_dim Bind arrays along a specified dimension
bind_on_rows Bind arrays along a specified dimension
decode_onehot Convert vector to a onehot representation (binary class matrix)
DIM Helpers for working with 1-d arrays
dim2<- Make or reshape an array with C-style (row-major) semantics
DROP Helpers for working with 1-d arrays
drop_dim Drop dimnames
drop_dim2 Drop dimnames
drop_dimnames Drop dimnames
expand_dims Expand the shape of an array
extract_cols Extract with '[' on a specified dimension
extract_dim Extract with '[' on a specified dimension
extract_rows Extract with '[' on a specified dimension
map_along_cols Apply a function across subsets along an array dimension
map_along_dim Apply a function across subsets along an array dimension
map_along_rows Apply a function across subsets along an array dimension
matrix2 Make or reshape an array with C-style (row-major) semantics
modify_along_cols Modify an array by mapping over 1 or more dimensions
modify_along_dim Modify an array by mapping over 1 or more dimensions
modify_along_rows Modify an array by mapping over 1 or more dimensions
ndim Length of 'DIM()'
onehot Convert vector to a onehot representation (binary class matrix)
onehot_decoder Convert vector to a onehot representation (binary class matrix)
onehot_with_decoder Convert vector to a onehot representation (binary class matrix)
seq_along_cols Sequence along a dimension
seq_along_dim Sequence along a dimension
seq_along_rows Sequence along a dimension
set_as_cols Reshape an array to send a dimension forward or back
set_as_rows Reshape an array to send a dimension forward or back
set_dim Reshape an array
set_dim2 Make or reshape an array with C-style (row-major) semantics
set_dimnames Set dimnames
shuffle_rows Shuffle along the first dimension multiple arrays in sync
split_along_cols Split an array along a dimension
split_along_dim Split an array along a dimension
split_along_rows Split an array along a dimension
split_on_cols Split an array along a dimension
split_on_dim Split an array along a dimension
split_on_rows Split an array along a dimension