nested_lapply: Apply 'input_function' to the root elements of a nested list

View source: R/rbitr_helpers.R

nested_lapplyR Documentation

Apply input_function to the root elements of a nested list

Description

Apply input_function to the root elements of a nested list

Usage

nested_lapply(x, input_function, ...)

Arguments

x

A nested list.

input_function

A function that takes the root level elements of x as arguments.

...

Further arguments to input_function.

Value

A list with the same structure as x, where the root level elements have been replaced with the outputs of input_function.


dryguy/rbitr documentation built on Oct. 15, 2024, 6:18 a.m.