|
| 1 | +# svyTable1 0.14.1.9000 |
| 2 | + |
| 3 | +## New features |
| 4 | + |
| 5 | +* `svydesign_build()` builds a complex-survey design from plain column names with |
| 6 | + input validation and clear error messages, and supports subpopulation |
| 7 | + ("domain") analysis the correct way -- by subsetting the design rather than |
| 8 | + pre-filtering rows, which would break subgroup standard errors. |
| 9 | +* `addint()` and `addintlist()` gain `ci_method = c("delta", "mover")`. The new |
| 10 | + `"mover"` option uses the MOVER interval of Zou (2008) <doi:10.1093/aje/kwn104> |
| 11 | + for RERI, which generally has better coverage than the symmetric Wald |
| 12 | + interval. The default (`"delta"`) is unchanged. |
| 13 | +* `addintlist()` now returns a `Scale` column ("OR (logistic)", "HR (Cox)", |
| 14 | + "RR (log-binomial)", "RR (Poisson)", or "ratio") that makes the effect-measure |
| 15 | + scale of RERI/AP/S explicit. |
| 16 | +* `svykmplot()` gains an `se` argument. `se = FALSE` draws the survival curves |
| 17 | + without the (slow) survey-weighted confidence bands. |
| 18 | +* New "Getting Started" vignette giving an end-to-end SPPH 604 workflow, and a |
| 19 | + package-level help page (`?svyTable1`) indexing the functions by purpose. |
| 20 | + |
| 21 | +## Improvements and bug fixes |
| 22 | + |
| 23 | +* `svygof()` now attaches the decile groups to the existing design via |
| 24 | + `update()` instead of rebuilding a bare `svydesign`, so it preserves finite |
| 25 | + population corrections and calibration and works on replicate-weights designs |
| 26 | + (it previously errored on them). |
| 27 | +* `svyAUC()` builds its confidence interval on the logit scale (so it stays |
| 28 | + within `[0, 1]`) and uses the design degrees of freedom instead of a fixed |
| 29 | + critical value; removed redundant internal computation. |
| 30 | +* `svycoxph_CE_mi()` default `time_var`/`status_var` corrected to |
| 31 | + `"stime"`/`"status"`. |
| 32 | +* `svytable1()` now errors on a zero-row design instead of returning a |
| 33 | + placeholder table, and no longer over-suppresses cells whose design effect is |
| 34 | + below 1. |
| 35 | +* Documentation: method references with DOIs added to `DESCRIPTION`; every |
| 36 | + exported function's `\value` now names its output class and meaning; the |
| 37 | + additive-interaction help notes that RERI/AP/S approximate risk-ratio measures |
| 38 | + only when the outcome is rare. |
| 39 | +* Examples and vignettes are now self-contained on the bundled `nhanes_mortality` |
| 40 | + data and no longer require the `NHANES` package. |
| 41 | +* Added a real test suite (replacing placeholder smoke tests). |
0 commit comments