retain_name: Retain names in lapply

Description Usage Arguments Value

View source: R/retain_name.R

Description

retain_name is a wrapper for lapply that retains the names of the list passed to the appropriate function. The function call is nearly identical to that of lapply.

Usage

1

Arguments

x

The list to iterate over

f

The function to apply

...

Additional arguments to pass to f

Value

A list of the same length as x that is the output of lapply with the names preserved


awqx/qsarr documentation built on Oct. 2, 2021, 7:05 a.m.