##### Contributors:

License | GPL-3 | file LICENSE |

LazyData | true |

LinkingTo | Rcpp, dplyr, BH |

URL | https://github.com/hadley/purrr |

BugReports | https://github.com/hadley/purrr/issues |

RoxygenNote | 5.0.1 |

NeedsCompilation | yes |

Packaged | 2016-06-17 22:17:44 UTC; hadley |

Repository | CRAN |

Date/Publication | 2016-06-18 10:05:18 |

#### Functional Programming Tools

Make your pure functions purr with the 'purrr' package. This
package completes R's functional programming tools with missing features
present in other programming languages.

Full Readme

#### Functions in purrr

Name | Description | |

along | Helper to create vectors with matching length. | |

compose | Compose multiple functions | |

at_depth | Map a function over lower levels of a nested list | |

bare-type-predicates | Bare type predicates | |

as_vector | Coerce a list to a vector | |

as_function | Convert an object into a function. | |

by_slice | Apply a function to slices of a data frame | |

by_row | Apply a function to each row of a data frame | |

array-coercion | Coerce array to list | |

accumulate | Accumulate recursive folds across a list | |

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

get-attr | Infix attribute accessor | |

conditional-map | Modify elements conditionally | |

cross_n | Produce all combinations of list elements | |

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

contains | Does a list contain an object? | |

dmap | Map over the columns of a data frame | |

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

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

flatmap | Map a function and flatten the result by one-level | |

null-default | Default value for NULL. | |

invoke | Invoke functions. | |

lift | Lift the domain of a function | |

negate | Negate a predicate function. | |

is_formula | Is a formula? | |

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

map2 | Map over multiple inputs simultaneously. | |

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

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

is_empty | Is a vector/list empty? | |

rdunif | Generate random samples from a discrete uniform distribution | |

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

safely | Capture side effects. | |

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

%>% | Pipe operator | |

rerun | Re-run expressions multiple times. | |

set_names | Set names in a vector | |

prepend | Prepend a vector | |

scalar-type-predicates | Scalar type predicates | |

rbernoulli | Generate random samples from a Bernoulli distribution | |

when | Match/validate a set of conditions for an object and continue with the action associated with the first valid match. | |

slice_rows | Slice a data frame into groups of rows | |

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

split_by | Split, order and sort lists by their components. | |

type-predicates | Type predicates | |

transpose | Transpose a list. | |

update_list | Modify a list | |

No Results! |

#### Dependencies

##### Get your badge !

```
[![Rdoc](http://www.rdocumentation.org/badges/version/purrr)](http://www.rdocumentation.org/packages/purrr)
```