dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
504 stars 77 forks source link

Suggestion: adding row and column % option to `ctable` #97

Open calebasaraba opened 4 years ago

calebasaraba commented 4 years ago

Great package for initial data analysis, thank you for all your hard work!

I love the clean look and render of the ctable function into html via Rmarkdown and would love to have it be my default -- however, it would be great to have an option to show both row and column percentages for each cell, or even row/col/total percentages for each. I know descr::CrossTable() does this, but it's a struggle to wrangle it into html. Thanks again for this package!

dcomtois commented 4 years ago

Hi, thanks for the feedback, I appreciate it. It was something I thought of at first but opted against mainly because I find the multiple percentages a bit difficult to work with (from an interpretation point of view)... I understand that some people prefer it, but unfortunately this would involve quite a bit of work. Not categorically closing the door to it, but it would not be in the near future. Thanks for your understanding.

BobMuenchen commented 2 years ago

This was added with prop = "r" or prop = "c".