get_factor_fields {jwutil}R Documentation

get names of the factor fields in a data frame

Description

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

Usage

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


[Package jwutil version 1.2.3 Index]