Open ddsjoberg opened 9 months ago
Perhaps the input could be an ARD that has stat_names of "p.value"
, we subset the ARD to the p-value rows, apply stats::p.adjust()
, we save the number p-values adjusted in the output along with the method, and update the context column to signify the adjusted status. That sounds easy enough?
Feature description
I am not sure what this would look like...but we'll need something 🤔 https://www.danieldsjoberg.com/gtsummary/reference/add_q.html
If we need to add an additional package dependency, add it to Suggests, use the cards function to check whether it's installed, and be sure to add a minimum version that is at least the version required in gtsummary.