Map familyThe As well as functions, |
|
---|---|
|
Apply a function to each element of a vector |
Convert an object into a mapper function |
|
Map variantsA rich set of variants builds on the basic idea of |
|
Apply a function to each element of a vector conditionally |
|
Map/modify elements at given depth |
|
|
Map over two inputs |
|
Map over multiple input simultaneously (in "parallel") |
Modify elements selectively |
|
Recursively modify a list |
|
Apply a function to each element of a vector, and its index |
|
Apply a function to list-elements of a list |
|
Predicate functionalsA predicate function is a function that either returns |
|
Find the value or position of the first match |
|
Do every, some, or none of the elements of a list satisfy a predicate? |
|
Does a list contain an object? |
|
Find head/tail that all satisfies a predicate. |
|
Keep/discard elements based on their values |
|
Keep/discard elements based on their name/position |
|
PluckingGetting or setting a single element. |
|
Safely get or set an element deep within a nested data structure |
|
Get an element deep within a nested data structure, failing if it doesn't exist |
|
Compute the depth of a vector |
|
Modify a pluck location |
|
Create an attribute getter function |
|
Other vector transformsA grab bag of useful tools for manipulating vectors. |
|
Accumulate intermediate results of a vector reduction |
|
Combine list elements into a single data structure |
|
Flatten a list |
|
Modify a list |
|
Simplify a list to an atomic or S3 vector |
|
Transpose a list |
|
Reduce a list to a single value by iteratively applying a binary function |
|
SupersededSuperseded functions have been replaced by superior solutions, but due to their widespread use will not go away. However, they will not get any new features and will only receive critical bug fixes. |
|
|
Flatten a list of lists into a simple vector |
|
Functions that return data frames |
Coerce a list to a vector |
|
Transpose a list. |
|
AdverbsAdverbs modify the action of a function; they take a function as input and return a function with modified action as output. |
|
Wrap a function so it will automatically |
|
Compose multiple functions together to create a new function |
|
Transform a function to wait then retry after an error |
|
Negate a predicate function so it selects what it previously rejected |
|
Partially apply a function, filling in some arguments |
|
Wrap a function to return a value instead of an error |
|
Wrap a function to capture side-effects |
|
Wrap a function to capture errors |
|
Wrap a function to wait between executions |
|
Misc |
|
Coerce array to list |
|
Create delaying rate settings |
|
Progress bars in purrr |