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 Sept. 30, 2024, 9:40 a.m.