selected.default: Identify Selected Names by Default

Description Usage Arguments Value See Also Examples

View source: R/selected.R

Description

Evaluates un-named arguments in ... using select rules, returning explicit names in x. Returns all (non-empty) names by default (if no dots supplied).

Usage

1
2
## Default S3 method:
selected(x, ...)

Arguments

x

object

...

to select

Value

character: names in x

See Also

Other modify: modify.default(), modify(), named(), selected()

Other interface: as.data.frame.yamlet(), classified.data.frame(), decorate.character(), decorate.data.frame(), desolve.decorated(), ggplot.decorated(), io_csv.character(), io_csv.data.frame(), io_res.character(), io_table.character(), io_table.data.frame(), io_yamlet.character(), io_yamlet.data.frame(), is_parseable.default(), mimic.default(), modify.default(), promote.list(), read_yamlet(), resolve.decorated(), write_yamlet()

Examples

1
2
3
library(magrittr)
list(a = 1, b = 1:10, c = letters) %>%
selected(b:c)

yamlet documentation built on July 19, 2021, 1:06 a.m.