Subset- And Name-Aware Array Utility Functions

bind | Binds arrays together disregarding names |

collect | Converts a logical matrix to a list of character vectors |

construct | A wrapper around reshape2::acast using a more intuitive... |

dim | base::dim, but returning 1 for vector |

dimnames | Return dimension names of an array respecting the number of... |

drop_if | Drop unused dims if flag is TRUE |

filter | Function to discard subsets of an array (NA or drop) |

flatten | Flattens an array along an axis |

grapes-or-grapes | Operator for array-like logical operations |

guess_structure | Infer array structure from data.frame |

intersect | Intersects all passed arrays along a give dimension, and... |

intersect_list | Intersects a lits of arrays for common dimension names |

lambda | Lambda syntax for array iteration |

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 |

named_dots | Return a list of named dot-arguments |

rep | Repeats an array along an arbitrary axis |

restore_null_dimnames | If no dimnames, return NULL and not list of NULLs |

split | Splits and array along a given axis, either totally or only... |

stack | Stacks arrays while respecting names in each dimension |

subset | Subsets an array using a list with indices or names |

translate | Translate an axis between two sets of identifiers |

vectors_to_row_or_col | Converts vectors in a list to row- or column vectors |

which | A multidimensional 'which' function |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.