lambda: Lambda syntax for array iteration

View source: R/lambda.r

lambdaR Documentation

Lambda syntax for array iteration

Description

Lambda syntax for array iteration

Usage

lambda(fml, along, group = c(), simplify = TRUE, expand_grid = TRUE,
  envir = parent.frame())

Arguments

fml

A call prefixed with a tilde

along

A named vector which objects to subset (eg: c(x=1))

group

Not implemented

simplify

Return array instead of index+result if scalar

expand_grid

Use all combinations of indices (default: TRUE)

envir

Environment where variables can be found


narray documentation built on Oct. 2, 2022, 5:08 p.m.