vapplys: 'vapply' shorthand alternatives

vlapplyR Documentation

vapply shorthand alternatives

Description

Simple wrappers around vapply for common data types

Usage

vlapply(..., FUN.VALUE = logical(1L))

vcapply(..., FUN.VALUE = character(1L))

vnapply(..., FUN.VALUE = numeric(1L))

Arguments

...

Arguments passed to vapply

FUN.VALUE

A preset signature for the flavor of vapply. This is exposed for transparency, but modifying it would break the implicit contract in the function name about the return type.

Value

The result of vapply


testex documentation built on June 22, 2024, 11:14 a.m.