rlmap {csvwr}R Documentation

Recursive lmap

Description

Applies function .f to each list-element in .x as per purrr::lmap. If the value of the list-element is itself a list, then the function is applied to that in turn. The process is followed recursively until an atomic value at the leaf nodes of the list is found. If .f modifies the name, it is thrown away and replaced by the original name.

Usage

rlmap(.x, .f, ...)

Arguments

.x

a list

.f

a function (called with elements of .x as the first argument)

...

further arguments passed to the function .f

Value

A list


[Package csvwr version 0.1.7 Index]