get_factor_fields: get names of the factor fields in a data frame

Description Usage Arguments Value Functions

View source: R/get_factor_fields.r

Description

Get the names of those fields in a data frame which are factors.

Usage

1
2
3
4
5
6
7
get_factor_fields(x, consider = names(x))

get_non_factor_fields(x, consider = names(x))

getFactorNames(x, consider = names(x))

getNonFactorNames(x, consider = names(x))

Arguments

x

data frame

consider

character vector of field names of the data frame to test, default is to use all of them.

Value

vector

Functions


jackwasey/jwutil documentation built on Jan. 20, 2020, 6:56 p.m.