pull_dt: Pull out a single variable

View source: R/pull_dt.R

pull_dtR Documentation

Pull out a single variable

Description

Extract vector from data.frame, works likt '[['. 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

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

hope-data-science/tidyfst documentation built on Sept. 23, 2024, 8:05 p.m.