Description Usage Arguments Examples
Select specific columns from a data.frame, if they exist.
1 | select_columns(data = NULL, cols)
|
data |
A data.frame. |
cols |
Column names to select. |
1 2 3 4 | ## Not run:
select_columns(cars, c("notExist", "speed"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.