grabColNames: grab column names for subsetting crdfs

View source: R/crunch-data-frame.R

grabColNamesR Documentation

grab column names for subsetting crdfs

Description

Take a character, logical, or integer vector and return the appropriate names of the crdf to subset. Disallow logicals (in the case of [[ subsetting, to conform with data.frame methods)

Usage

grabColNames(x, j, allow_logical = TRUE)

Arguments

x

crdf to grab columns from

j

character, logical, or integer vector specifying the columns to grab

allow_logical

logical should logical subsetting be allowed? (default: TRUE)

Value

character names of the columns of the crdf to select


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.