kaz-yos / tableone

R package to create "Table 1", description of baseline characteristics with or without propensity score weighting
https://cran.r-project.org/web/packages/tableone/index.html
214 stars 40 forks source link

Add an option to censor small values appearing in tables via a threshold #98

Open HarrisonWilde opened 2 years ago

HarrisonWilde commented 2 years ago

Аs mentioned in this old issue: https://github.com/kaz-yos/tableone/issues/76#issue-752134268 it would be very useful to be able to add some censoring cut-off at which point only < N or ** or similar is shown to indicate the number is smaller than some threshold. This is a very common situation in medical and other sensitive settings where this package sees widespread usage. Happy to attempt to implement if there is some support on getting to grips with the code. I would imagine this would be a quick fix but I don't have the bandwidth to fully dive into the package so would be good to talk to a maintainer.

Thanks!

tomlincr commented 2 years ago

+1 for this!

tomlincr commented 2 years ago

Possible inspiration, solutions or alternatives: