Learn R Programming

mosaicCore (version 0.9.4.0)

named: List extraction

Description

These functions create subsets of lists based on their names

Usage

named(l)

unnamed(l)

named_among(l, n)

Value

A sublist of l determined by names(l).

Arguments

l

A list.

n

A vector of character strings (potential names).