-
Notifications
You must be signed in to change notification settings - Fork 41
/
NEWS
527 lines (321 loc) · 14.9 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
tableone 0.13.2 (2022-04-15)
----------------------------------------------------------------
TEMPORARY BUG FIX
* Avoid calling && and || on a vector of length > 1 by disabling
tests that call the
tableone 0.13.1 (2022-03-27)
----------------------------------------------------------------
BUG FIX
* Fix some issues in the SMD vignette (@tszberkowitz)
tableone 0.13.0 (2021-07-04)
----------------------------------------------------------------
NEW FEATURES
* Capture the print argument in kableone (@ZWael)
BUG FIX
* Prepare for survey 4.1 using oldsvyquantile when available.
* Fix some vignette issues
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.
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.
tableone 0.11.1 (2020-03-07)
----------------------------------------------------------------
BUG FIXES
* Revise tests to avoid failures occuring only on ATLAS, MLK, and
OpenBLAS.
* Drop methods from Imports as it is no longer needed.
tableone 0.11.0 (2020-03-01)
----------------------------------------------------------------
NEW FEATURES
* @ndevln contributed addOverall option, which add the overall
column side-by-side with sratified columns when creating a
table object.
BUG FIXES
* test-only dependency (suggests) on dummies was dropped as it
produced warnings with model.matrix().
* In preparation for R 4.0.0, ModuleCreateTableForOneVar and
svyCatSummaryForOneVar now use stringsAsFactors = FALSE.
Some internal representation of data changed as a result.
tableone 0.10.0 (2019-02-16)
----------------------------------------------------------------
BUG FIXES
* Fix a missing value handling issue (via @chipmanj).
Closes issue #26.
* mean (sd) was changed to mean (SD) to be consistent with
median [IQR].
NEW FEATURES
* Add a helper for exporting TableOne objects to Markdown
(via @malcolmbarrett). Currently, this is very basic. We hope
to extend its functionalities.
* README.md now lists similar or complementary projects.
tableone 0.9.3 (2018-04-28)
----------------------------------------------------------------
BUG FIXES
* Fix incompatibility with lmerTest package (via @runehaubo).
* Suppressed "No sampling weights provided" warning on svrepdesign.
tableone 0.9.2 (2018-01-24)
----------------------------------------------------------------
BUG FIXES
* Address CRAN test issues on some platforms.
* Fix typos (via @LucyMcGowan)
tableone 0.9.1 (2017-11-06)
----------------------------------------------------------------
BUG FIXES
* ExtractSmd always returns a matrix even when there are only two
groups for easier subsequent data manipulation.
tableone 0.9.0 (2017-11-03)
----------------------------------------------------------------
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.
tableone 0.8.2 (2017-08-31)
----------------------------------------------------------------
BUG FIXES
* Handle labelled class as categorical.
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.
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.
tableone 0.7.3 (2015-11-10)
----------------------------------------------------------------
BUG FIXES
* Fix the vignette for upcoming ggplot2 update.
tableone 0.7.2 (2015-10-25)
----------------------------------------------------------------
BUG FIXES
* Solve errors with abnormal pooled variance-covariance matrices
in standardized mean difference calculation.
tableone 0.7.1 (2015-08-11)
----------------------------------------------------------------
BUG FIXES
* Solve problems with unit testing on the sparc architecture
without extended-precision arithmetic support.
* Fix title for second vignette.
tableone 0.7.0 (2015-08-10)
----------------------------------------------------------------
NEW FEATURES
* Weighted data are now supported via the survey package.
svydesign() should be used to create a survey design object,
and this object should be used for svyCreateTableOne() instead
of a data frame. Other options are essentially the same. All
results will be weighted results.
* Standardized mean differences are calculated. print() methods
include smd option, which defaults to FALSE for backward
compatibility. If TRUE, SMD is shown on the right side of the
table. To suppress p-values, use test = FALSE option.
summary() methods also print SMDs. If there are more than two
strata, all possible pairwise contrasts are shown along with the
average SMD across all contrats. In this case, print methods only
prints the average SMD for brevity. For categorical variables
Yang and Dalton's suggested method (A unified approach to
measuring the effect size between two groups using SAS.
SAS Paper 335-2012) is used. SMDs for weighted data are
experimental.
* ExtractSmd() function can be used to extract SMD values as a
numeric matrix, which then can be used for plotting, etc.
* An new RMarkdown vignette explains the use of standardized
mean differences.
* The includeNA option for CreateTableOne() and svyCreateTableOne()
make NA's in factors treated as a regular level.
* ShowRegTable() now has ciFun option, which allows use of
the confint.default function if calculation is too slow for
glm results.
* print.TableOne() aligns the sample size with other summaries.
OTHER CHANGES
* ShowRegTable() uses coef to refer to coefficients.
* Unit tests were extended to cover more functions.
* CreateTableOne() was refactored to avoid redundant calculation.
* New dependencies: survey, MASS, and zoo
BUG FIXES
* Fixed pDigits option in print.ContTable(), which was not correctly
functional as advertised.
tableone 0.6.3 (2014-12-28)
----------------------------------------------------------------
DOCUMENTATION
* An RMarkdown vignette outlining the use of the package was added.
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.
tableone 0.6.1 (2014-06-01)
----------------------------------------------------------------
BUG FIXES
* 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.
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().
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.
(Special thanks to Raja Sriswan Mamidi for suggestions)
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.
(Special thanks to Yoshinobu Kanda for suggestions)
tableone 0.3.5 (2014-03-07)
----------------------------------------------------------------
BUG FIXES
* Fixed a problem with space insertion when empty strata are present.
* Thanks Joris Muller for bug reports and code suggestions for the
following.
* 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.
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.
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.
tableone 0.3.2 (2014-02-18)
----------------------------------------------------------------
BUG FIXES
* DESCRIPTION changed for clarity. No functional changes.
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...
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.
tableone 0.2.1 (2014-02-15)
----------------------------------------------------------------
BUG FIXES
* Documentations were fixed to represent the current version.
tableone 0.2.0 (2014-02-14)
----------------------------------------------------------------
NEW FEATURES
* CreateTableOne and related print/summary methods were added.
* CreateTableOne can crate a table with both categorical and
continuous variables.
* The print method can suppress printing by printToggle option.
BUG FIXES
* In the Roxygen part of the code, only at_export followed by nothing is used.
tableone 0.1.2 (2014-02-09)
----------------------------------------------------------------
BUG FIXES
* Fixed incorrect specification of S3 method export.
* To make an object an S3 method and export it both at_S3method and at_export
tags are needed in the Roxygen part of the code.
* Passed all the default tests by R CMD check file.tar.gz
tableone 0.1.1 (2014-02-09)
----------------------------------------------------------------
BUG FIXES
* This version is to better conform to the CRAN standards.
* Documents are now included in
tableone 0.1.0 (2014-02-08)
----------------------------------------------------------------
FIRST DEVELOPMENTAL VERSION
* This is the first developmental version to be made public.
* tableone makes creation of "Table 1", description of baseline characteristics
common in medical research papers easy.
################################################################################