Learn R Programming

testex (version 0.2.1)

vlapply: 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))

Value

The result of vapply

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.