Description Usage Arguments Value Examples
A function to select column in a data.frame
1 |
data |
a data.frame |
selection |
interger, logical, or character vector |
the choosen column
1 2 3 4 | x <- data.frame(x1 = rnorm(10), x2 = rnorm(10))
select2(x, "x1")
select2(x, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.