Learn R Programming

listviewer (version 1.4.0)

recurse: Recurse Over Nested Lists

Description

Like rapply but recurses over nested lists and retain attributes and names.

Usage

recurse(l, func, ...)

Arguments

l
list over which we would like to recurse
func
function to apply to the list
...
arguments for the func