Coerce a vector of class "factor" to numeric.
fact2num(f)
f | A vector of class "factor". |
---|
A vector of class "numeric".
Coerces a vector of class factor to numeric. This function preserves underlying integer associated with each element of f.
cf. > unclass(f)
Dave Braze davebraze@gmail.com