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
tabyl() is supposed to provide percentages but actually provides proportions. For instance, a value 0.5 in the "percent" column does not mean 0.5% as the label would indicate. Recommendation: either change the label to "proportion" or multiply the values by 100.
tabyl() is provide proportions (range 0-1) but labels them as "percent"
level<- rep(c("High", "Medium", "Low"), 20)
janitor::tabyl(level)
#> level n percent#> High 20 0.3333333#> Low 20 0.3333333#> Medium 20 0.3333333
Feel free to assign task to me. More than willing to help.
The text was updated successfully, but these errors were encountered:
Hello, thanks for weighing in, hopefully you're enjoying janitor despite this flaw 😉 I've opened up a discussion for implementing a fix. It will involve at the least breaking people's code, and at the most splitting janitor into two different packages, so will be a non-trivial effort - but I appreciate your offer to help.
Bug report
tabyl() is supposed to provide percentages but actually provides proportions. For instance, a value 0.5 in the "percent" column does not mean 0.5% as the label would indicate. Recommendation: either change the label to "proportion" or multiply the values by 100.
tabyl() is provide proportions (range 0-1) but labels them as "percent"
Feel free to assign task to me. More than willing to help.
The text was updated successfully, but these errors were encountered: