pull: Extract a single column from a data frame (including tbl_df)...

Description Usage Arguments Value Source

View source: R/utils.R

Description

Extract a single column from a data frame (including tbl_df) and return it as a vector.

Usage

1
pull(data, Var)

Arguments

data

a data frame to extract the column from.

Var

a character string identifying the column to extract as a vector.

Value

a vector

Source

Modified from Tommy O'Dell: http://stackoverflow.com/a/24730843/1705044


christophergandrud/DataCombine documentation built on June 18, 2020, 6:40 p.m.