rmap {csvwr}R Documentation

Recursive map

Description

Applies function .f to each element in .x as per purrr::map. If the value of the 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.

Usage

rmap(.x, .f)

Arguments

.x

a list

.f

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

Value

A list


[Package csvwr version 0.1.7 Index]