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 Oct. 25, 2021, 9:09 a.m.