Description Usage Arguments Value Examples
Select/rename variables by name for unitted data.frames & tibbles
Implements dplyr::select and dplyr::select_ for unitted_data.frames
Implements dplyr::select and dplyr::select_ for unitted_tbl_dfs
Implements dplyr::rename and dplyr::rename_ for unitted_data.frames
Implements dplyr::rename and dplyr::rename_ for unitted_tbl_dfs
1 2 3 4 5 6 7 8 9 10 11 |
.data |
a unitted_data.frame |
... |
standard dots, as in |
a unitted_data.frame after the rename_
operation
a unitted_data.frame after the rename_
operation
1 2 3 4 5 6 7 8 9 10 | dplyr::select(
u(data.frame(x=1:3, y=3:5, z=c("aa", "bb", "cc")), c("X","Y","Z")),
a=y, x)
dplyr::select(
tibble::as_tibble(u(data.frame(x=1:3, y=3:5, z=c("aa", "bb", "cc")), c("X","Y","Z"))),
a=y, x)
df <- u(data.frame(x=1:3, y=3:5, z=c("aa", "bb", "cc")), c("X","Y","Z"))
dplyr::rename(df, a=y, beta=x)
df <- u(data.frame(x=1:3, y=3:5, z=c("aa", "bb", "cc")), c("X","Y","Z"))
dplyr::rename(tibble::as_tibble(df), a=y, beta=x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.