Open santikka opened 1 month ago
Yeah you're right that it would look nicer as a bar plot when the test statistic is discrete. There's not a way to tell ppc_stat
to do that right now, but I think it's a good idea. If you or anyone else is interested in adding it I would be happy to review a pull request. Otherwise I can certainly do it myself when I have time, but I'm not sure when that will be at the moment.
It seems that
ppc_stat
always assumes that the test statistic defined bystat
is continuous, and thus draws a histogram, which is fine but sometimes looks quite ugly, for example:Created on 2024-10-14 with reprex v2.1.1
Is there an option (or another function) to specify that the test statistic is discrete, so that
ppc_stat
would produce a barplot instead?