make_flattener: Generate a list flattener

Description Usage Arguments Value

Description

Generate a function that accepts an arbitrarily deeply nested list. Use flatten.at to set the level of nestedness at which the flatterner will start to flatten.

Usage

1
make_flattener(flatten.at = 1)

Arguments

flatten.at

An integer specifying the layer after which to start the flattening. 1 means to start at the very top.

Value

A function that can be used to flatten a nested list


gschofl/gsmisc documentation built on May 17, 2019, 8:52 a.m.