We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
I wasn't able to find a good short approach to do
c("a", "a", "b") %>% table() %>% prop.table()
using forcats package. I think it's pretty handy to use a special argument for this purpose as in sklearn value_counts
The text was updated successfully, but these errors were encountered:
Maybe c("a" ,"a", "b") %>% fct_count(prop = TRUE)?
c("a" ,"a", "b") %>% fct_count(prop = TRUE)
Sorry, something went wrong.
should be OK and more R-thonic :) than normalize
No branches or pull requests