lapply_w_name: a version of lapply() that supplies FUN with both the name...

View source: R/general_functions.R

lapply_w_nameR Documentation

a version of lapply() that supplies FUN with both the name and the value of each component

Description

a version of lapply() that supplies FUN with both the name and the value of each component

Usage

lapply_w_name(X, FUN)

Arguments

X

see documentation for lapply

FUN

function which takes a character vector of length 1 as a first argument and something else as a second argument

Value

see documentation for lapply


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.