Functional Programming Tools

accumulate | Accumulate recursive folds across a list |

along | Helper to create vectors with matching length. |

array-coercion | Coerce array to list |

as_mapper | Convert an object into a mapper function |

as_vector | Coerce a list to a vector |

compose | Compose multiple functions |

cross | Produce all combinations of list elements |

detect | Find the value or position of the first match. |

every | Do every or some elements of a list satisfy a predicate? |

flatten | Flatten a list of lists into a simple vector. |

get-attr | Infix attribute accessor |

has_element | Does a list contain an object? |

head_while | Find head/tail that all satisfies a predicate. |

imap | Apply a function to each element of a vector, and its index |

invoke | Invoke functions. |

is_numeric | Test is an object is integer or double |

keep | Keep or discard elements using a predicate function. |

lift | Lift the domain of a function |

list_modify | Modify a list |

lmap | Apply a function to list-elements of a list |

map | Apply a function to each element of a vector |

map2 | Map over multiple inputs simultaneously. |

modify | Modify elements selectively |

negate | Negate a predicate function. |

null-default | Default value for 'NULL'. |

partial | Partial apply a function, filling in some arguments. |

pipe | Pipe operator |

pluck | Pluck out a single an element from a vector or environment |

prepend | Prepend a vector |

purrr-package | purrr: Functional Programming Tools |

rbernoulli | Generate random sample from a Bernoulli distribution |

rdunif | Generate random sample from a discrete uniform distribution |

reduce | Reduce a list to a single value by iteratively applying a... |

reexports | Objects exported from other packages |

rerun | Re-run expressions multiple times. |

safely | Capture side effects. |

set_names | Set names in a vector |

splice | Splice objects and lists of objects into a list |

transpose | Transpose a list. |

vec_depth | Compute the depth of a vector |

when | Match/validate a set of conditions for an object and continue... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.