R4DS Ch. 21

map2()

{purrr}

apply a function to multiple elements over two vectors in parallel

walk()

{purrr}

apply a function to multiple elements of an object to obtain side effects

tail_while()

{purrr}

find last elements that satisfy predicate

unlist()

{base}

flatten a list into an atomic vector in base R

every()

{purrr}

determine if all elements meet predicate function conditional

try()

{base}

try an expression and allow errors

transpose()

{purrr}

turn list-of-lists ‘inside out’

possibly()

{purrr}

safely return result or default when there is an error

flatten_dbl()

{purrr}

flatten a list into an atomic vector in purrr

head_while()

{purrr}

find first elements that satisfy predicate

bind_rows()

{dplyr}

bind rows in dplyr

map_lgl()

{purrr}

apply a function to multiple elements of an object in purrr, return a logical vector

map()

{purrr}

apply a function to multiple elements of an object in purrr, return a list

quietly()

{purrr}

safely return result, messages, and warnings

map_dbl()

{purrr}

apply a function to multiple elements of an object in purrr, return a double vector

seq_along()

{base}

return a sequence along the length of an object

discard()

{purrr}

discard elements using a predicate function

accumulate()

{purrr}

accumulate intermediate result of vector reduction

apply()

{base}

apply a function to multiple elements of an object in base R

some()

{purrr}

determine if some of elements meet predicate function conditional

pmap()

{purrr}

apply a function to multiple elements over a list of vectors in parallel

safely()

{purrr}

safely return result and error

map_chr()

{purrr}

apply a function to multiple elements of an object in purrr, return a character vector

lapply()

{base}

apply a function to multiple elements of an object and return a list

detect()

{purrr}

return value of first matching element

summary()

{base}

return summary of model fitting functions

reduce()

{purrr}

reduce list to single value by iteratively applying binary function

rbind()

{base}

bind rows in base R

map_int()

{purrr}

apply a function to multiple elements of an object in purrr, return a integer vector

tribble()

{tibble}

create row-wise tibble

keep()

{purrr}

keep elements using a predicate function

The end!