tableone
tableone copied to clipboard
Allow option to remove "=TRUE" and "=FALSE" from variable names
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.
maybe dropEqual = T
in print()
can fit your needs.