jmv icon indicating copy to clipboard operation
jmv copied to clipboard

Option to get percentages in barplots of descriptives

Open victor-moreno opened this issue 4 years ago • 3 comments

Currently only descriptives provides a barplot but only counts. I think an option to plot percentages using the total of the splitby variable would be useful to make graphical comparisons.

contTables would be al alternative location for these plots. There, percentages could be calculated according to rows or columns based on te selection.

I can code this if is considered a worth addition.

victor-moreno avatar Jan 13 '21 19:01 victor-moreno

i've been agitating for this for a while :) @raviselker ?

jonathon-love avatar Jan 13 '21 21:01 jonathon-love

Yeah, the problem is that at some point we also allowed for bar plots for continuous variables and percentages don't make sense for these plots.

raviselker avatar Jan 13 '21 22:01 raviselker

Agree that barplots with percentages only make sense for categorical variables and probably they should be under a new "Plots" menu for contingency tables. The one in descriptives can be used as template.

victor-moreno avatar Jan 14 '21 13:01 victor-moreno