fact2char: Factor to character

View source: R/char2fact.R

fact2charR Documentation

Factor to character

Description

Convert factor columns to characters in a data.frame

Usage

fact2char(data, threshold = 10)

Arguments

data

A data.frame

threshold

A threshold for the number of levels to be met/exceeded for transforming into a character

Value

The data.frame data with factors converted by the rule above

See Also

char2fact()

Other factors: as_ordered(), char2fact(), drop_levels(), fact_na(), fact()


mark documentation built on Oct. 23, 2023, 9:06 a.m.