Re: [R] Calculate weighted proportions for several factors at once

2018-03-23 Thread David Winsemius
> On Mar 22, 2018, at 3:34 PM, Striessnig, Erich > wrote: > > Hi, > > I have a grouped data set and would like to calculate weighted proportions > for a large number of factor variables within each group member. Rather than > using dplyr::count() on each of these factors individually, the id

[R] Calculate weighted proportions for several factors at once

2018-03-22 Thread Striessnig, Erich
Hi, I have a grouped data set and would like to calculate weighted proportions for a large number of factor variables within each group member. Rather than using dplyr::count() on each of these factors individually, the idea would be to do it for all factors at once. Does anyone know how this w