select2 | R Documentation |
Select variables in a data frame.
select2(df, var)
df |
A data frame. |
var |
A character or integer vector with variable names or indices to select. |
The subsetted data frame.
select2(iris, 1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.