intersect {narray}R Documentation

Intersects all passed arrays along a give dimension, and modifies them in place

Description

TODO: accept along=c(1,2,1,1...) [maybe list w/ vectors as well?] TODO: accept data=env/list arg? [sig-comb/drug-tissue/assocs.r#62-65]

Usage

intersect(..., along = 1, envir = parent.frame(), drop = FALSE,
  fail_if_empty = TRUE)

Arguments

...

Arrays that should be intersected

along

The axis along which to intersect

envir

A list or environment to act upon

drop

Drop unused dimensions on result

fail_if_empty

Stop if intersection yields empty set


[Package narray version 0.5.1 Index]