tableone icon indicating copy to clipboard operation
tableone copied to clipboard

Allow option to remove "=TRUE" and "=FALSE" from variable names

Open dylanrussellmd opened this issue 2 years ago • 1 comments

A good variable label and row name should imply the "=TRUE" or "=FALSE". The varLabels option is extremely useful but not if the "=TRUE" remains. Ideal behavior would be allow the explain option to remain available so that (%) or (mean (SD)) is still appended to variable labels where necessary, but have a second option that can be set to FALSE to remove the "=TRUE" or "=FALSE" appendage to variable labels.

dylanrussellmd avatar Jun 25 '22 02:06 dylanrussellmd

maybe dropEqual = T in print() can fit your needs.

Cainefm avatar Nov 30 '22 14:11 Cainefm