Closed PaulC91 closed 2 years ago
You need to use the type argument to tell tbl_summary()
that these variables are indeed continuous2 (they default with so few unique levels is categorical). Because their default is categorical, you can't use all_continuous()
to cast them as continuous2
.
https://www.danieldsjoberg.com/gtsummary/reference/tbl_summary.html#type-argument-1
Got it! thanks for the quick response.
Hey.
As you can see from the reprex below, the requested statistics are not applied when the sample size is reduced to 10. Perhaps this is intended behaviour but I can't find anything in the docs about it.
Thanks!
Created on 2022-10-11 with reprex v2.0.2