Learn R Programming

tidyft (version 0.4.5)

pull: Pull out a single variable

Description

Analogous function for pull in dplyr

Usage

pull(.data, col)

Arguments

.data

data.frame

col

A name of column or index (should be positive).

Value

A vector

See Also

pull

Examples

Run this code
# NOT RUN {
mtcars %>% pull(2)
mtcars %>% pull(cyl)
mtcars %>% pull("cyl")
# }

Run the code above in your browser using DataLab