Functional Programming in R


[Up] [Top]

Documentation for package ‘functools’ version 0.2.0

Help Pages

functools-package functools: Extending Functional Programming in R
%O% Compose multiple functions.
All Test if all items in an object evaluate to TRUE.
Always Create a function that that always returns a specific object.
Andify Predicate function operator that creates new predicate functions linked by the && operator.
Any Test if any items in an object evaluate to TRUE.
Apply Wrapper for apply function.
Best Find the best value in a vector.
Compact Filter NA and NULL values out of a vector, list, or data.frame.
Compose Compose multiple functions.
Existy Existy
Fail_With Fail with a default value.
False False
functools functools: Extending Functional Programming in R
Identity Identity
Lapply Wrapper for lapply function.
Mapply Wrapper for mapply function.
Memoise Memoise a function.
Na Na
Null Null
Orify Predicate function operator that creates new predicate functions linked by the || operator.
Partial Partial apply a function, filling in some arguments.
Reduce_Right Simple wrapper for Reduce, proceeding from the right.
Reject Reject
Sapply Wrapper for sapply function.
Tapply Wrapper for tapply function.
True True
Truthy Truthy
Vapply Wrapper for vapply function.