NEWS
vtable 1.4.7 (2024-10-17)
- Adds second approach to weighted SD calculations to allow for weights that represent reliability/precision.
vtable 1.4.6 (2023-10-26)
- Fixes an issue in
sumtable
with the combination of tibble
s and factor.numeric = TRUE
.
vtable 1.4.5 (2023-10-12)
- Fixes an issue in
sumtable
where characters were not being properly escaped when building to Quarto/RMarkdown and out
is not specified.
vtable 1.4.4 (2023-04-28)
- Improved performance of
formatfunc()
with prefixes and negative values combined.
- Changed factor-level formatting in
vtable()
slightly.
vtable 1.4.3 (2023-03-27)
- Fixed bug introduced by 1.4.2 relating to grouped sumtables when one group has all-missing values of a variable.
vtable 1.4.2 (2023-03-14)
format
option of sumtable()
changed to numformat
to avoid namespace issues.
- Added
obs.function
option to sumtable()
to make it easier to swap out the function used to count observations.
- Made it possible to use a named vector/list to change
numformat
option for only some variables in sumtable()
, instead of having to specify every single variable.
- Updated vignettes.
- Fixed issue where default
out
option did not work running inside of knitr
rendering to Word.
- Fixed issue with escaped characters in
kable
s.
- Added
formatfunc()
function to easily customize numformat
options.
vtable 1.4.1 (2022-11-02)
- Fixes an issue where group headers didn't show up properly in
sumtable()
with out = 'kable'
if run outside of knitr.
- Adds variable formatting options to
sumtable()
.
- Adds count and frequency columns to
labeltable()
.
- Other minor fixes.
vtable 1.3.4 (2022-07-16)
- Fixes an issue with
haven_labelled
class variables where value labels weren't recognized in vtable
.
- Fixes an issue where custom star markers are not recognized in
sumtable
.
- Date variables maintain class before being evaluated for
summ
in vtable
, and also lush = TRUE
produces medians and nuniq()
for dates instead of mean, SD, and nuniq
.
vtable 1.3.3 (2021-08-05)
- Fixes an error that occurs if a character variable with lots of different values is specified in
vars
in sumtable
.
vtable 1.3.2 (2021-05-28)
- Fixes an issue where
format(digits = 0)
was still being used despite no longer being allowed
- Fixes the use of sample weights combined with factor variables that have missing values.