Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document parse_factor produces different levels than base factor #1519

Open
jxu opened this issue Oct 18, 2023 · 0 comments
Open

Document parse_factor produces different levels than base factor #1519

jxu opened this issue Oct 18, 2023 · 0 comments

Comments

@jxu
Copy link

jxu commented Oct 18, 2023

This is specified in parse_factor docs on the level argument, but maybe worth emphasizing that the levels produced will be different than base R factor, which does it by sorting.

parse_factor(c("b", "a"))
factor(c("b", "a"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant