Learn R Programming

mosaic (version 0.13.0)

named: 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)