| capply | R Documentation | 
A wrapper for ifelse(test(x), fun(x, ...), x)
capply(test, x, fun, ...)
test | 
 a test that returns a logical  | 
x | 
 data to apply fun to.  | 
fun | 
 to apply  | 
... | 
 other arguments to fun  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.