jstable
Create Tables from Different Types of Regression
A clinical table generator paying down years of edge cases in survey-weighted models
◆Recent moves
- 4mo ago
Survey-weighted logistic regression and sample counts corrected
The densest survey-weighted fix batch yet: quasibinomial now maps to svyglm properly with exponentiated coefficients labelled OR, factor outcomes convert automatically instead of erroring, and the n row shows actual sample counts rather than the sum of survey weights - a difference the notes illustrate as 23,641 against 181,174,390. The bundled 1.3.24 notes add interaction-term handling across the display functions and offset preservation in glmshow.display.
View source ↗ - 6mo ago
Competing-risk counts drawn from original rather than transformed data
Rolls up three patch versions. The competing-risk fix is the one that changes published numbers: Count and Percent now come from the original data rather than the finegray-transformed frame, so sample sizes read correctly while cumulative incidence still uses the competing-risk method. The other two prevent dimension dropping when pcut.univariate selects a single variable.
View source ↗ - 9mo ago
Multi-state Cox models detected without a manual flag
cox2.display now handles multi-state models automatically rather than requiring the msm parameter, and restricts output to selected variables when event_msm is applied. A small ergonomic win in the function that receives the most attention in this package.
View source ↗ - 10mo ago
Wide fix pass across the display functions
Two versions bundled, covering strata() terms in coxph, hardcoded column indices in survey Cox p-value extraction, interaction terms and reference levels in glmshow.display, and refitting behaviour when pcut.univariate is combined with data_for_univariate. Most of these are consequences of the pcut.univariate feature meeting model structures it was not originally written against.
View source ↗ - 0y ago
Crude p-values computed from raw data via data_for_univariate
Introduces data_for_univariate across cox2.display, geeglm.display and lmer.display so univariate p-values come from the raw data rather than the model frame, which matters when the multivariable model drops incomplete cases. Five patch versions are rolled together here, the rest being column naming and status-zero edge cases.
View source ↗ - 1y ago
Significance-filtered multivariable analysis added across seven functions
The origin of the thread that dominates every release since: pcut.univariate lands in seven display functions at once, allowing the multivariable model to be built from only the variables significant in univariate testing. Also adds n_original for unweighted sample size in survey tables, the same weighted-versus-original distinction that 1.3.25 was still correcting a year later.
View source ↗