capply: Conditional Apply

View source: R/capply.R

capplyR Documentation

Conditional Apply

Description

A wrapper for ifelse(test(x), fun(x, ...), x)

Usage

capply(test, x, fun, ...)

Arguments

test

a test that returns a logical

x

data to apply fun to.

fun

to apply

...

other arguments to fun


dostats documentation built on May 11, 2022, 1:08 a.m.