powered by
A wrapper for ifelse(test(x), fun(x, ...), x)
ifelse(test(x), fun(x, ...), x)
capply(test, x, fun, ...)
a test that returns a logical
data to apply fun to.
to apply
other arguments to fun