kill.factors {clickR}R Documentation

Kill factors

Description

Changes factor variables to character

Usage

kill.factors(dat, k = 10)

Arguments

dat

A data.frame

k

Maximum number of levels for factors

Examples

d <- data.frame(Letters=letters[1:20], Nums=1:20)
d$Letters
d <- kill.factors(d)
d$Letters

[Package clickR version 0.8.0 Index]