pull: Pull out a single variable

View source: R/pull.R

pullR Documentation

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

mtcars %>% pull(2)
mtcars %>% pull(cyl)
mtcars %>% pull("cyl")

tidyft documentation built on Jan. 9, 2023, 1:27 a.m.