pull_data: Pull data

Description Usage Arguments Value Examples

View source: R/pull.R

Description

Pull (extract) data from a data frame

Usage

1
pull_data(.data, ...)

Arguments

.data

Input data frame

...

Unquoted name of column to pull from data frame

Value

A column pulled from its data frame (inheriting whatever class the column is)

Examples

1
2
## pull the 'y' variable from the data frame
tbl_data(x = rnorm(5), y = letters[1:5]) %>% pull_data(y)

mkearney/tbltools documentation built on May 14, 2019, 4:02 a.m.