R4DS Ch. 21

rbind()

{base}

bind rows in base R

accumulate()

{purrr}

accumulate intermediate result of vector reduction

detect()

{purrr}

return value of first matching element

map_int()

{purrr}

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

map2()

{purrr}

apply a function to multiple elements over two vectors in parallel

possibly()

{purrr}

safely return result or default when there is an error

some()

{purrr}

determine if some of elements meet predicate function conditional

tribble()

{tibble}

create row-wise tibble

try()

{base}

try an expression and allow errors

bind_rows()

{dplyr}

bind rows in dplyr

apply()

{base}

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

summary()

{base}

return summary of model fitting functions

discard()

{purrr}

discard elements using a predicate function

tail_while()

{purrr}

find last elements that satisfy predicate

quietly()

{purrr}

safely return result, messages, and warnings

pmap()

{purrr}

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

transpose()

{purrr}

turn list-of-lists ‘inside out’

every()

{purrr}

determine if all elements meet predicate function conditional

flatten_dbl()

{purrr}

flatten a list into an atomic vector in purrr

head_while()

{purrr}

find first elements that satisfy predicate

map_dbl()

{purrr}

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

reduce()

{purrr}

reduce list to single value by iteratively applying binary function

map_chr()

{purrr}

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

keep()

{purrr}

keep elements using a predicate function

seq_along()

{base}

return a sequence along the length of an object

walk()

{purrr}

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

map()

{purrr}

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

map_lgl()

{purrr}

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

unlist()

{base}

flatten a list into an atomic vector in base R

safely()

{purrr}

safely return result and error

lapply()

{base}

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

The end!