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