Recent Releases of tableone
tableone - formatOptions for big.mark
tableone 0.12.0 (2020-07-25)
NEW FEATURE by by @ndevln (PR #69)
- Add formatOptions for the print method. formatOptions = list(big.mark = ",") to add marks like 1,000.
- R
Published by kaz-yos almost 6 years ago
tableone - Fix Hmisc label issues
tableone 0.11.2 (2020-07-13)
BUG FIXES by @ndevln (PR #66)
Hmisc labels no longer cause continuous vars to be treated as factors (Closes Issue #64)
Setting value labels via labelled no longer result in tableone dropping variables.
ADDITIONAL BUG FIXES
- Add rmarkdown to Suggests.
- R
Published by kaz-yos about 6 years ago
tableone - Bug fixes for CRAN maintenance
No user-relevant changes.
- R
Published by kaz-yos over 6 years ago
tableone - 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.
- R
Published by kaz-yos over 6 years ago
tableone - 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.
- R
Published by kaz-yos over 8 years ago
tableone - 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.
- R
Published by kaz-yos about 9 years ago
tableone - 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.
- R
Published by kaz-yos about 9 years ago
tableone - Bug fix for SPARC architecture
- Fix unit tests that were failing in sparc-sun-solaris platform only.
- Fix vignette titles
- R
Published by kaz-yos almost 11 years ago
tableone - 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
- R
Published by kaz-yos almost 11 years ago
tableone - Introduction to tableone vignette
tableone 0.6.3 (2014-12-28)
DOCUMENTATION - An RMarkdown vignette outlining the use of the package was added.
- R
Published by kaz-yos over 11 years ago
tableone - Bug fix for handling of ordered factor and testing of 1xM tables
tableone 0.6.2 (2014-06-01)
BUG FIXES - The testing of 1 x m table was problematic when a categorical variable only have one level. chisq.test() returns Chi-squared test for given probabilities (test for strata imbalance) in such cases. In this version, testing a 1 x m table always return NA, as test for a cross table is not defined in this context. - Special thanks to Atsushi Shiraishi for reporting this issues. - Unit testing with the testthat package was added for some functions. Thus, the testthat package was added as a suggested package. - The algorithm CreateCatTable used to detect variables to convert to factos had a bug. CreateCatTable was effectively (re-)converting all variables to factors, which deleted empty levels from factors and ordered factors. - Special thanks to Atsushi Shiraishi for reporting this issues.
- R
Published by kaz-yos about 12 years ago
tableone - printToggle for ShowRegTable and vars omission for CreateTableOne added
tableone 0.6.0 (2014-05-31)
NEW FEATURES - The CreateTableOne function automatically use all variables in the data frame given to the data argument, if the vars argument is empty. - The printToggle argument added to ShowRegTable().
- R
Published by kaz-yos about 12 years ago
tableone - noSpaces option added.
tableone 0.5.0 (2014-04-14)
NEW FEATURES - The noSpaces argument was added to print.* functions. This allows removal of spaces added for alignment using fixed-width fonts. Use this option if you prefer to align your table in other software.
- R
Published by kaz-yos about 12 years ago
tableone - showAllLevels argument added to print.TableOne()
tableone 0.4.0 (2014-03-30)
NEW FEATURES - The showAllLevels argument to show all levels of categorical variables regardless of numbers of levels was added to print.TableOne. Previously, it was only available in print.CatTable. To accommodate this feature, insertLevel argument to insert an empty level column was added to print.ContTable.
- R
Published by kaz-yos over 12 years ago
tableone - bug fix release that can handle ordered factors as categorical variables.
tableone 0.3.5 (2014-03-07)
BUG FIXES - Added more robust class assessment in CreateTableOne and CreateCatTable, which now handles ordered factors correctly. CreateTableOne also drops Surv object for safety. - "Dropped due to unsupported class" message has been fixed to show variable names with spaces in between. - This version will be pushed to CRAN in a week. For the time being please install from the github as follows.
```
Install devtools (if you do not have it already)
install.packages("devtools")
Load devtools
library(devtools)
Install directly from github (develop branch)
install_github(repo = "kaz-yos/tableone", ref = "develop") ```
- R
Published by kaz-yos over 12 years ago
tableone - Bug fix release that can handle ordered factors as categorical variables.
tableone 0.3.5 (2014-03-07)
BUG FIXES - Added more robust class assessment in CreateTableOne and CreateCatTable, which now handles ordered factors correctly. CreateTableOne also drops Surv object for safety. - This version will be pushed to CRAN in a week. For the time being please install from the github as follows.
```
Install devtools (if you do not have it already)
install.packages("devtools")
Load devtools
library(devtools)
Install directly from github (develop branch)
install_github(repo = "kaz-yos/tableone", ref = "develop") ```
- R
Published by kaz-yos over 12 years ago
tableone - Bug fix release with better handling of all NA/NaN vectors
tableone 0.3.4 (2014-03-04)
BUG FIXES - Added the Create* functions handling of all NA/NaN variables. These invalid variables are examined at the beginning and dropped with warning for safety. - For the strata argument, variables with only one level is dropped with warning because these are meaningless, and caused data handling problems.
- R
Published by kaz-yos over 12 years ago
tableone - Bug fix release with better handling of characters and logicals
tableone 0.3.3 (2014-02-22)
BUG FIXES
CreateTableOne now handles logical and chracter vectors correctly. They are handled as categorical variables, and passed to the CreateCatTable function. Variables that are none of numeric, integer, factor, logical, or character are dropped for safety.
- R
Published by kaz-yos over 12 years ago
tableone - Package description fixed for clarity
tableone 0.3.2 (2014-02-18)
BUG FIXES - DESCRIPTION changed for clarity. No functional changes.
- R
Published by kaz-yos over 12 years ago
tableone - Bug fix release to be consistent recent NAMESPACE conventions. Resubmitted to CRAN.
tableone 0.3.1 (2014-02-18)
BUG FIXES - NAMESPACE now includes import(e1071) and import(gmodels). - DESCRIPTION now includes Imports e1071, gmodels and Suggests survival, instead of Depends...
- R
Published by kaz-yos over 12 years ago
tableone - v0.3.0 First production release. Submitted to CRAN
tableone 0.3.0 (2014-02-17)
NEW FEATURES - CreateTableOne has a new factorVars argument, a character vector specifying numerically coded variables that should be treated as factors. - The print method for the TableOne/CatTable class object has a new minMax argument, a logical value specifying whether to show median [min, max] instead of median [IQR] for nonnormal variables - The print method for the TableOne/CatTable class object has a new cramVars argument, a character vector to specify which 2-level factors to should have both levels presented in one row.
BUG FIXES - Documentations were fixed to represent the current version.
- R
Published by kaz-yos over 12 years ago
tableone - Documentation fix developmental version
- Documentations were fixed to represent the current functions.
- R
Published by kaz-yos over 12 years ago
tableone - 0.2.0-beta developmental version released
What's new
- CreateTableOne() function which can handle both categorical variables (need to be factors) and continuous variables has been implemented along with the summary and print methods.
- Documentation has been revised.
- R
Published by kaz-yos over 12 years ago
tableone - S3 method correct support
- Fixed incorrect specification of S3 method export.
- To make an object an S3 method and export it both atS3method and atexport tags are needed in the Roxygen part of the code.
- Passed all the default tests by R CMD check file.tar.gz
- R
Published by kaz-yos over 12 years ago
tableone - First version consistent with CRAN guidelines
Changes
- This version uses Roxygen for documentation. Documents are now included in the source .R files, and .Rd man files are generated by devtools::document("package_path").
- S3 methods now have arguments consistent with the respective generics (print(x,...) and summary(object, ...)
- The survival package was added to the dependency, as its pbc data is used in the example as "medically relevant" example.
- R
Published by kaz-yos over 12 years ago
tableone - tableone first alpha release
tableone R package (alpha release)
This is the first alpha release of the tableone package. tableone creates Table 1, i.e., the baseline characteristics table often used in medical research papers.
Creating a continuous variable table with the CreateContTable() function
http://rpubs.com/kaz_yos/tableone1

Creating a categorical variable table with the CreateCatTable() function
http://rpubs.com/kaz_yos/tableone2

- R
Published by kaz-yos over 12 years ago