get_factor_fields {jwutil} | R Documentation |
Get the names of those fields in a data frame which are factors.
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))
x |
data frame |
consider |
character vector of field names of the data frame to test, default is to use all of them. |
vector
get_non_factor_fields
: Get the fields which are not factors, instead.
getFactorNames
: Deprecated
getNonFactorNames
: Deprecated