You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is not a way to convert an "ordered" "factor" into a plain "factor" within {forcats}.
Hadley requested that PR #215 (comment) be converted into an issue. For easy reading, here's the comment:
Based on our current understanding of S3, I think it's clear that these functions should be as.factor() and as.ordered(). as.ordered() works currently, but as.factor() does not. We can't fix as.factor(), but we can fix as_factor(). Doing that 100% correctly is a bit fiddly, so would you mind filing an issue?
The text was updated successfully, but these errors were encountered:
To fix this as_factor.factor() should construct a new factor from first principles, using only selected attributes from x. Will also need a test to verify that attributes are stripped.
Currently, there is not a way to convert an
"ordered" "factor"
into a plain"factor"
within{forcats}
.Hadley requested that PR #215 (comment) be converted into an issue. For easy reading, here's the comment:
The text was updated successfully, but these errors were encountered: