Extract Elements from a Named Object
Extracts elements from an R object with the names
attribute set in a 'lazy' way. The first argument is the
object, while the second is a set of names parsed from
.... We return the object, including only the
elements with names matched from
An R object with a
an optional number of 'names' to match in
We can be 'lazy' with how we pass names. The
names passed to
... are not evaluated
directly; rather, their character representation is taken
and used for extraction.
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.