Adds proportion of occurrences to each level names
Adds the proportion of occurrences of each level to the corresponding level name.
A group variable.
Vector of weights of same length as the group variable.
group variable can be a factor or a numerical variable. In the latter case it is transformed to a factor.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.