Releases: kaz-yos/tableone
formatOptions for big.mark
Fix Hmisc label issues
Bug fixes for CRAN maintenance
No user-relevant changes.
NEW FEATURE: Add an overall column easily.
@ndevln contributed the addOverall
option (see the pull request), which add the overall column side-by-side with sratified columns when creating a table object. See the help of CreateTableOne
and svyCreateTableOne
.
addOverall
(optional, only used if strata are supplied) Adds an overall column to the table. Smd and p-value calculations are performed using only the stratifed clolumns.
Variable Label Support
NEW FEATURES
-
The "varLabels" option for the print.TableOne method was added.
When TRUE, instead of printing the variable names, their
corresponding variable labels are used. Variable labels must be
stored in the data frame to be used via labelled::var_label
function. This option is also available in ExtractSmd function. -
The "dropEqual" option for the print methods was implemented. If
TRUE, the level description for two-level variables such as " = 1"
and " = TRUE" are not shown. This can obscure what level is being
shown depending on the variable naming scheme, thus, should only
be used after the initial results were checked for correctness.
BUG FIXES
- Handling of lme4 models was improved in ShowRegTable.
Bug fix
tableone 0.8.1 (2017-06-17)
BUG FIXES
-
Fix alignment issue with the Missing column. Note currently the
percentage is shown with 1 decimal and this is hard-coded. -
Change vignetteBuilder to knitr to form the index correctly.
-
Single-quote package names in DESCRIPTION.
Feature enhancement and bugfixes
tableone 0.8.0 (2017-06-15)
NEW FEATURES
-
The "missing" option for the print methods was implemented. If
TRUE, a column called "Missing" is added as the rightmost column
of the formatted table. This represents percentage of missing
observation in each variable. Please note this is the percentage
with respect to the unweighted raw observations even in weighted
tables. -
The "padColnames" option was added the print.TableOne method. If
TRUE, the column names of the formatted table become space-padded
to center them.
tableone 0.7.6 (2016-07-12)
BUG FIXES
-
The explanation for the "factorVars" argument for the functions
CreateTableOne and svyCreateTableOne were changed for clarity.
When factor variables are included in the argument, they are
releveled to exlude empty levels. This was not clearly documented
in the previous documentation. Thanks @eribul. -
svyrep.design objects (survey design objects with replicate weights)
are allowed for the data argument in svyTableOne. This is considered
experimental. Thanks @przemo.
tableone 0.7.5 (2016-04-10)
BUG FIXES
- ShowRegTable() now correctly supports models fit with geepack,
nlme, and lme4.
tableone 0.7.4 (2016-03-31)
NEW FEATURE
- Define SMD := 0 when the numerator is 0 even if the denominator
is also 0. This is more intuitive because a constant compared
across two groups will give an SMD of 0 rather than NaN (0/0).
For example, if two groups being compared both only have one
gender (all female or all male), then SMD for the gender
variable is defined as 0.
Bug fix for SPARC architecture
- Fix unit tests that were failing in sparc-sun-solaris platform only.
- Fix vignette titles
Weighted data and SMD support
See NEWS for details
- Weighted data support via survey
- SMD support along with vignette and ExtractSmd()
- includeNA option for constructors
- ShowRegTable() can use custom confint function
- print.TableOne() aligns sample size
Introduction to tableone vignette
tableone 0.6.3 (2014-12-28)
DOCUMENTATION
- An RMarkdown vignette outlining the use of the package was added.