lapply.inner: Apply a function to the inner element of a list of lists.

lapply.innerR Documentation

Apply a function to the inner element of a list of lists.

Description

Apply a function to the inner element of a list of lists.

Usage

lapply.inner(lol, .FUN, ..., simplify = FALSE, USE.NAMES = FALSE)

Arguments

lol

list of lists

.FUN

function that takes an element from lol

...

other arguments to pass to .FUN

simplify

logical or character string; should the result be simplified to a vector, matrix or higher dimensional array if possible? See sapply.

USE.NAMES

logical; if TRUE and if X is character, use X as names for the result unless it had names already. See sapply.

Value

a list of lists, the result of applying .FUN to lol


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.