pull {poorman} | R Documentation |
Pull out a single variable
Description
This is a direct replacement for [[.data.frame
.
Usage
pull(.data, var = -1)
Arguments
.data |
A |
var |
A variable specified as:
The default returns the last column (on the assumption that's the column you've created most recently). |
Examples
mtcars %>% pull(-1)
mtcars %>% pull(1)
mtcars %>% pull(cyl)
mtcars %>% pull("cyl")
[Package poorman version 0.2.7 Index]