crunch (version 1.27.7)

grabColNames: 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