noFactorDataFrame: Create Data Frame without Factors

View source: R/dataFrame.R

noFactorDataFrameR Documentation

Create Data Frame without Factors

Description

Use data.frame with stringsAsFactors = FALSE

Usage

noFactorDataFrame(...)

Arguments

...

passed to data.frame

Examples

# data.frame() by default converts character to factor
str(data.frame(id = 1:3, letter = LETTERS[1:3]))

# noFactorDataFrame keeps character as character
str(noFactorDataFrame(id = 1:3, letter = LETTERS[1:3]))


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.