factorp: Factor creation function that preserves column attributes.

View source: R/table1.R

factorpR Documentation

Factor creation function that preserves column attributes.

Description

Factor creation function that preserves column attributes.

Usage

factorp(x, ...)

Arguments

x

An object to be converted to a a factor.

...

Further arguments passed to factor.

Value

An factor with the attributes of x other than "class" and "levels" preserved.

See Also

factor


table1 documentation built on Nov. 5, 2025, 7:30 p.m.