list-utils: List extraction

namedR Documentation

List extraction

Description

These functions create subsets of lists based on their names

Usage

named(l)

unnamed(l)

named_among(l, n)

Arguments

l

A list.

n

A vector of character strings (potential names).

Value

A sublist of l determined by names(l).


mosaicCore documentation built on Nov. 5, 2023, 9:06 a.m.