Learn R Programming

tidyfst (version 0.7.7)

pull_dt: Pull out a single variable

Description

Analogous function for pull in dplyr

Usage

pull_dt(data, col)

Arguments

data

data.frame

col

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

Value

vector

See Also

pull

Examples

Run this code
# NOT RUN {
mtcars %>% pull_dt(1)
mtcars %>% pull_dt(cyl)
mtcars %>% pull_dt("cyl")
# }

Run the code above in your browser using DataLab