Loop over columns to generate multiple prop.table

This really cries out for a reproducible example, called a reprex with a handful of representative rows and columns or a data set from a package that has the same general layout.

Second, disaggregate isn't clear. Are you trying to break up into groups of columns? Are you trying to do something with each column?

It may be possible to figure this out by reverse engineering but few peeps are going to put in that level of effort :grin: