How can I create a class ratio using aggregate?

I am trying to create a class proportion of the number of “wins.” I don’t need to create a dotplot or a table - I can get the number of wins each student made, but then how to I get the proportion for the whole class?

Hi Tamara, are you familiar with using aggregate in CL (link to documentation)? This should enable you to put together each student’s data to find the overall proportion. I’m happy to put together a demonstration of how it might look if that would be helpful - let me know!

Thank you. In the end, this is what I did. There is likely a more elegant way, but this will work.

1 Like

That gets the job done, nice! I’m not sure if it was intentional to do the two aggregate calculations in separate graphs, but it is also an option to put them both in the same graph.