Releases: jinseob2kim/jstable
Releases · jinseob2kim/jstable
Release list
v1.3.25 CRAN release
jstable 1.3.25
- Fix:
svyCreateTableOneJS/svyCreateTableOne2now display integer counts (no.0suffix) whenn_original = TRUE. Previously, categorical variable frequencies and the n row were formatted as floats (e.g.,12345.0) even after replacing weighted counts with original data. - Fix:
svyCreateTableOne2now correctly labels the "Overall" column when usingaddOverall = TRUEwithLabels = TRUE. Previously, the "Overall" header was missing, causing column name misalignment. - Fix:
TableSubgroupGLM/TableSubgroupMultiGLMnow fully supportfamily = "quasibinomial"for survey-weighted logistic regression. Previously,"quasibinomial"was not mapped toquasibinomial()forsvyglm, exp() was not applied to coefficients, and the column was not named "OR". - Fix:
TableSubgroupGLM/TableSubgroupMultiGLMnow automatically convert factor outcomes to numeric (0/1) for survey data with binomial/quasibinomial family. Previously, factor outcomes caused"'-' not meaningful for factors"error withsvyglm. - Fix:
count_event_by_glmnow handlesdata.tableinput correctly by converting todata.framebefore column subsetting. Previously,data.tableobjects fromsurvey.design$variablescaused"column name 'required_vars' is not found"error. - Fix: Replaced all
deparse(formula)withdeparse1(formula)inTableSubgroupGLM,TableSubgroupMultiGLM,TableSubgroupCox, andTableSubgroupMultiCoxto suppress"Using formula(x) is deprecated when x is a character vector of length > 1"warnings with long formulas. - Fix:
svyCreateTableOneJS/svyCreateTableOne2now display actual sample sizes in thenrow instead of weighted totals whenn_original = TRUE. Previously, thenrow showed the sum of survey weights (e.g., 181,174,390) instead of the original sample count (e.g., 23,641). Supports no-strata, single-strata, and compound-strata cases.
jstable 1.3.24
- Fix:
.displayfunctions (cox2.display,svycox.display,svyregress.display,geeglm.display,lmer.display) now correctly handle models with interaction terms (e.g.,a*bora:b). This prevents dimension dropping or row matching errors during formatting. - New:
glmshow.displaynow correctly preserves theoffsetterm (e.g.,offset(log(n))) when calculating crude estimates. This ensures statistically accurate univariate results for Poisson and other GLM models by maintaining the same exposure baseline.
v1.3.23 CRAN release
jstable 1.3.23
- Fix:
svyregress.displayno longer errors whenpcut.univariateselects a single variable (prevents dimension dropping). - Fix:
svycox.displaynow preserves matrix dimensions when subsetting to a single selected term withpcut.univariate.
jstable 1.3.22
- Fix:
CreateTableOneJSandCreateTableOne2now have correct headers for overall and strata columns.
jstable 1.3.21
- Fix:
TableSubgroupCoxandTableSubgroupMultiCoxnow correctly maintain Count and Percent from original data in competing risk analysis - When
data_originalis provided, Count and Percent are calculated from the original data instead of finegray-transformed data - This ensures accurate sample sizes and percentages while cumulative incidence is still calculated using competing risk methods
v1.3.19 CRAN release
- Fix:
cox2.displaynow properly handles multi-state models automatically without themsmparameter. - Fix: When
event_msmis applied,cox2.displayonly returns the output with the selected variables.
v.1.3.18 CRAN release
jstable 1.3.18
- Fix:
TableSubgroupMultiCoxnow correctly extracts p-values from survey Cox models (svycoxph) by using the last column index instead of hardcoded column 5 - Fix:
cox2.displaynow correctly handlesstrata()terms incoxphmodels
jstable 1.3.17
- Fix:
cox2.displaynow properly handles variables with no variation in complete cases during univariate analysis - Fix:
cox2.displaycorrectly filters out NA p-values when usingpcut.univariateoption - Fix:
cox2.displaynow properly handles data.table objects withdata_for_univariateparameter - Fix:
cox2.displayshows adjusted HR properly and also handles clustered coxph model properly. - Fix: When
pcut.univariateis applied,cox2.displaynow correctly shows metrics (N, AIC, C-index, Events) from the selected model with significant variables - Fix: Added missing
@importFrom survival Survfor proper NAMESPACE generation - Fix:
glmshow.displaynow properly handles interaction terms withpcut.univariateoption - Fix:
glmshow.displaycorrectly maintains variable order when selecting significant variables with interaction terms - Fix:
glmshow.displaynow displays proper reference levels for interaction terms with multi-level factors (e.g., "wt:cyl: ref.=4") - Fix:
geeglm.displaynow correctly usesdata_for_univariatewithpcut.univariateto refit model with selected variables only, updating N accordingly - Fix:
lmer.displaynow correctly usesdata_for_univariatewithpcut.univariateto refit model with selected variables only, updating N and other metrics accordingly - Update:
LabeljsTablenow supports interaction terms, applying labels to both main effects and interaction coefficients
v.1.3.16 CRAN release
jstable 1.3.16
- Update: Now in
CreateTableOneJSandsvyCreateTableOneJS, column names are more descriptive when usingpsub = Twithstrata,strata2.
jstable 1.3.15
- Update: Add
data_for_univariateincox2.display,geeglm.display,lmer.display, crude p-values in univariate tables are now computed directly from the raw data passed viadata_for_univariate.
jstable 1.3.14
- Fix: error in
cox2.displaywhen all status 0 - Update: Add testcode of
cox2.displaywhen all status 0 (isList, column&row name diff check)
jstable 1.3.13
- Fix: error in handling
idandweightcolumns from input data in the Cox module.
jstable 1.3.12
- Update: Add count_by and event variable to TableSubgroupGLM, TableSubgroupMultiGLM
- Update: Collapse columns when there are more than 3 levels in TalbeSubgroupCox, TableSubgroupMultiCox
v1.3.11 CRAN release
jstable 1.3.11
- Update: Add pcut.univariate to geeglm.display, coxme.display, cox2.display, glmshow.display, lmer.display, svyglm.display, and svycox.display to allow multivariable analysis only with statistically significant variables.
- Update: Add n_original to svyCreateTableOneJS to display the original sample size (unweighted n) in addition to the weighted sample size.
jstable 1.3.10
- Enable TableSubgroupCox to handle with mixed effect model, automatically detects mixed model with formula
jstable 1.3.9
- Update: Add C-Index(se) in cox2.display
v1.3.8 CRAN release
jstable 1.3.8
- Update: Detect mixed model and show corresponding values in 'TableSubgroupGLM', 'TableSubgroupMultiGLM'
jstable 1.3.7
- fix: pairwise options in CreateTableOne2, CreateTableOneJS, svyCreateTableOne2, svyCreateTableOneJS
v1.3.6 CRAN release
- Update: Add event, count_by option in TableSubgroupCox, TableSubgroupMultiCox
- Update: Add pairwise option in CreateTableOne2, CreateTableOneJS, svyCreateTableOne2, svyCreateTableOneJS
- Update: Add
labeldataoption inTableSubgroupGLM,TableSubgroupMultiGLM,TableSubgroupCox,TableSubgroupMultiCox - Fix:
cox2.displayHR
v1.3.5 CRAN release
- Fix: error in
TableSubgroupMultiGLMwhen covariates
v1.3.4 CRAN release
- Fix: error in
forestcoxwhen categorical binary outcome - Fix: error in
forestglmwhen categorical covariates