defactorize.Rd
defactorize(x)
x | A factor. |
---|
A vector of equivalent length of class numeric, integer or character.
The function tries to handle factors of unknown content by attempting to apply different classes and looking for warnings.
The function disregards levels
information available in
vectors of the factor
class.
#> [1] "a" "b"#> [1] 11 12 2 10 7 3 1 5 6 4 8 9