You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Giving contDigits = 0 to the print.TableOne function to render a continuous variable as an integer appears to error out.
> print(tableOne,contDigits = 1)
Stratified by trt
1 2 p test
n 158 154
time (mean (SD)) 2015.6 (1094.1) 1996.9 (1155.9) 0.883
...
> print(tableOne,contDigits = 0)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
invalid value 0 for 'digits' argument
The text was updated successfully, but these errors were encountered:
The same issue and error message is also present for "catDigits = 0".
This only seems to be a problem in version 0.12.0 or higher (there's no issue in version 0.11.2)
Hi Kaz,
Giving
contDigits = 0
to theprint.TableOne
function to render a continuous variable as an integer appears to error out.The text was updated successfully, but these errors were encountered: