Description Usage Arguments Special functions See Also
Select parameters from a list of
simulations. select()
keeps only the variables
mentioned in ...
. rename()
keeps all
variables.
1 2 3 4 5 6 7 8 9 10 11 |
.data |
A list of simulations arrays. |
... |
Name-value pairs of expressions. |
.dots |
Used to work around non-standard evaluation. See
dplyr's |
From dplyr's man page: As well as using existing functions like
:
and c
, there are a number of special functions that
only work inside select
starts_with(x, ignore.case = TRUE)
:
names starts with x
ends_with(x, ignore.case = TRUE)
:
names ends in x
contains(x, ignore.case = TRUE)
:
selects all variables whose name contains x
matches(x, ignore.case = TRUE)
:
selects all variables whose name matches the regular expression x
num_range("x", 1:5, width = 2)
:
selects all variables (numerically) from x01 to x05.
one_of("x", "y", "z")
:
selects variables provided in a character vector.
everything()
:
selects all variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.