Map family
The As well as functions, |
|
---|---|
|
Apply a function to each element of a list or atomic vector |
Convert an object into a mapper function |
|
Map variantsA rich set of variants builds on the basic idea of |
|
|
Map over multiple inputs simultaneously. |
|
Modify elements selectively |
|
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 or discard elements using a predicate function. |
|
Negate a predicate function. |
|
Prepend a vector |
|
PluckingGetting or setting a single element. |
|
Pluck or chuck a single element from a vector or environment |
|
Modify a pluck location |
|
Create an attribute getter function |
|
Infix attribute accessor |
|
Other vector transformsA grab bag of useful tools for manipulating vectors. |
|
Accumulate intermediate results of a vector reduction |
|
Produce all combinations of list elements |
|
|
Flatten a list of lists into a simple vector. |
Modify a list |
|
Reduce a list to a single value by iteratively applying a binary function |
|
Splice objects and lists of objects into a list |
|
Transpose a list. |
|
AdverbsAdverbs modify the action of a function; taking a function as input and returning a function with modified action as output. |
|
Compose multiple functions |
|
|
Lift the domain of a function |
Negate a predicate function. |
|
Partial apply a function, filling in some arguments. |
|
Capture side effects. |
|
Transform a function to make it run insistently or slowly |
|
Wait for a given time |
|
Create delaying rate settings |
|
Misc |
|
Default value for |
|
Coerce array to list |
|
Coerce a list to a vector |
|
Generate random sample from a Bernoulli distribution |
|
Generate random sample from a discrete uniform distribution |
|
Re-run expressions multiple times. |
|
Set names in a vector |
|
Compute the depth of a vector |