R/table1.R
factorp.Rd
Factor creation function that preserves column attributes.
factorp(x, ...)
An object to be converted to a a factor.
factor
Further arguments passed to factor.
An factor with the attributes of x other than "class" and "levels" preserved.
x
"class"
"levels"