mutsel | R Documentation |
dplyr::mutate()
and dplyr::select()
Link together dplyr::mutate()
and dplyr::select()
mutsel(d, ...)
d |
A data frame |
... |
The column names to mutate/select |
This function allows you to dplyr::mutate()
to create/modify columns,
and then dplyr::select()
them so that the newly mutated columns are in
the order supplied to the function. Other remaining columns will follow in
the same order they appear in the original data frame d
.
The modified data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.