map_nest: Map function to list-column

Description Usage Arguments Details Value

View source: R/map_nest.R

Description

1. Nest data by grouping variable(s) 2. Map function to nested list column 3. Unest data frame

Usage

1
map_nest(x, ..., f)

Arguments

x

A data frame

...

Variables to group_by() (comma-separated and unquoted)

f

A function passed on to map()

Details

Duplicate vars if grouping vars are also used by f

Value

Returns unested x after mapping function


avrincon/phukieo documentation built on Aug. 17, 2020, 1:31 p.m.