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(), fact_na()


mark documentation built on May 29, 2024, 5:13 a.m.