Subset- And Name-Aware Array Utility Functions


[Up] [Top]

Documentation for package ‘narray’ version 0.2.2

Help Pages

%or% operator for array-like logical ops
bind Binds arrays together disregarding names
construct A wrapper around reshape2::acast using a more intuitive formula syntax
crep Repeats an array along an arbitrary axis
dim base::dim, but returning 1 for vector
dimnames Return dimension names of an array respecting the number of dimensions
filter Function to discard subsets of an array (NA or drop)
flatten Flattens an array along an axis
intersect Intersects all passed arrays along a give dimension, and modifies them in place
intersect_list Intersects a lits of arrays for common dimension names
like Reshapes 'x' to be like 'like', including dimension names
map Maps a function along an array preserving its structure
map_simple Apply function that preserves order of dimensions
mask Converts a list of character vectors to a logical matrix
match match() function with extended functionality
melt Function to melt data.frame from one or multiple arrays
rep Repeats an array along an arbitrary axis
rrep Repeats an array along an arbitrary axis
split Splits and array along a given axis, either totally or only subsets
stack Stacks arrays while respecting names in each dimension
subset Subsets an array using a list with indices or names
summarize Summarize a matrix analogous to a grouped df in dplyr
which A multidimensional 'which' function