R/utils.R

Defines functions vcapply vnapply

vnapply <- function(X, FUN, ...) {
  vapply(X, FUN, ..., numeric(1))
}

vcapply <- function(X, FUN, ...) {
  vapply(X, FUN, ..., character(1))
}

Try the individual package in your browser

Any scripts or data that you put into this service are public.

individual documentation built on July 15, 2022, 5:06 p.m.