Numeric Vectors from lfactors
Returns numeric representation of an lfactor equal to the
levels argument for each value. This is
different from the behavior of factor which would ignore the values of
This method does not return floating point (numeric) results that are otherwise equal to the results from
Instead it returns the value of the level that was input when the lfactor was created.
1 2 3 4 5 6 7 8 9 10