vectorizing: vectorizing tag to vectorize the input function

Description Usage Arguments Examples

Description

tag counterpart to base::Vectorize, and a wrapper around it.

Usage

1
2
vectorizing(.vectorize.args = NULL, .SIMPLIFY = TRUE,
  .USE.NAMES = TRUE)

Arguments

.vectorize.args

a character vector of arguments which should be vectorized. Defaults to all arguments of FUN.

.SIMPLIFY

logical or character string; attempt to reduce the result to a vector, matrix or higher dimensional array; see the simplify argument of sapply.

.USE.NAMES

logical; use names if the first ... argument has names, or if it is a character vector, use that character vector as the names.

Examples

1
2
Vectorize(rep.int)(1:4, 4:1)
vectorizing$rep.int(1:4, 4:1)

moodymudskipper/tags documentation built on June 25, 2019, 10:54 a.m.