Skip to content

Releases: jinseob2kim/jstable

v1.3.25 CRAN release

Choose a tag to compare

@jinseob2kim jinseob2kim released this 30 Mar 09:21

jstable 1.3.25

  • Fix: svyCreateTableOneJS / svyCreateTableOne2 now display integer counts (no .0 suffix) when n_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: svyCreateTableOne2 now correctly labels the "Overall" column when using addOverall = TRUE with Labels = TRUE. Previously, the "Overall" header was missing, causing column name misalignment.
  • Fix: TableSubgroupGLM / TableSubgroupMultiGLM now fully support family = "quasibinomial" for survey-weighted logistic regression. Previously, "quasibinomial" was not mapped to quasibinomial() for svyglm, exp() was not applied to coefficients, and the column was not named "OR".
  • Fix: TableSubgroupGLM / TableSubgroupMultiGLM now automatically convert factor outcomes to numeric (0/1) for survey data with binomial/quasibinomial family. Previously, factor outcomes caused "'-' not meaningful for factors" error with svyglm.
  • Fix: count_event_by_glm now handles data.table input correctly by converting to data.frame before column subsetting. Previously, data.table objects from survey.design$variables caused "column name 'required_vars' is not found" error.
  • Fix: Replaced all deparse(formula) with deparse1(formula) in TableSubgroupGLM, TableSubgroupMultiGLM, TableSubgroupCox, and TableSubgroupMultiCox to suppress "Using formula(x) is deprecated when x is a character vector of length > 1" warnings with long formulas.
  • Fix: svyCreateTableOneJS / svyCreateTableOne2 now display actual sample sizes in the n row instead of weighted totals when n_original = TRUE. Previously, the n row 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: .display functions (cox2.display, svycox.display, svyregress.display, geeglm.display, lmer.display) now correctly handle models with interaction terms (e.g., a*b or a:b). This prevents dimension dropping or row matching errors during formatting.
  • New: glmshow.display now correctly preserves the offset term (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

Choose a tag to compare

@jinseob2kim jinseob2kim released this 27 Jan 09:36
71006f7

jstable 1.3.23

  • Fix: svyregress.display no longer errors when pcut.univariate selects a single variable (prevents dimension dropping).
  • Fix: svycox.display now preserves matrix dimensions when subsetting to a single selected term with pcut.univariate.

jstable 1.3.22

  • Fix: CreateTableOneJS and CreateTableOne2 now have correct headers for overall and strata columns.

jstable 1.3.21

  • Fix: TableSubgroupCox and TableSubgroupMultiCox now correctly maintain Count and Percent from original data in competing risk analysis
  • When data_original is 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

Choose a tag to compare

@jinseob2kim jinseob2kim released this 24 Oct 08:50
ffab7c7
  • Fix: cox2.display now properly handles multi-state models automatically without the msm parameter.
  • Fix: When event_msm is applied,cox2.display only returns the output with the selected variables.

v.1.3.18 CRAN release

Choose a tag to compare

@jinseob2kim jinseob2kim released this 01 Oct 02:46

jstable 1.3.18

  • Fix: TableSubgroupMultiCox now correctly extracts p-values from survey Cox models (svycoxph) by using the last column index instead of hardcoded column 5
  • Fix: cox2.display now correctly handles strata() terms in coxph models

jstable 1.3.17

  • Fix: cox2.display now properly handles variables with no variation in complete cases during univariate analysis
  • Fix: cox2.display correctly filters out NA p-values when using pcut.univariate option
  • Fix: cox2.display now properly handles data.table objects with data_for_univariate parameter
  • Fix: cox2.display shows adjusted HR properly and also handles clustered coxph model properly.
  • Fix: When pcut.univariate is applied, cox2.display now correctly shows metrics (N, AIC, C-index, Events) from the selected model with significant variables
  • Fix: Added missing @importFrom survival Surv for proper NAMESPACE generation
  • Fix: glmshow.display now properly handles interaction terms with pcut.univariate option
  • Fix: glmshow.display correctly maintains variable order when selecting significant variables with interaction terms
  • Fix: glmshow.display now displays proper reference levels for interaction terms with multi-level factors (e.g., "wt:cyl: ref.=4")
  • Fix: geeglm.display now correctly uses data_for_univariate with pcut.univariate to refit model with selected variables only, updating N accordingly
  • Fix: lmer.display now correctly uses data_for_univariate with pcut.univariate to refit model with selected variables only, updating N and other metrics accordingly
  • Update: LabeljsTable now supports interaction terms, applying labels to both main effects and interaction coefficients

v.1.3.16 CRAN release

Choose a tag to compare

@jinseob2kim jinseob2kim released this 19 Aug 05:56
6e71560

jstable 1.3.16

  • Update: Now in CreateTableOneJS and svyCreateTableOneJS, column names are more descriptive when using psub = T with strata, strata2.

jstable 1.3.15

  • Update: Add data_for_univariate in cox2.display, geeglm.display, lmer.display, crude p-values in univariate tables are now computed directly from the raw data passed via data_for_univariate.

jstable 1.3.14

  • Fix: error in cox2.display when all status 0
  • Update: Add testcode of cox2.display when all status 0 (isList, column&row name diff check)

jstable 1.3.13

  • Fix: error in handling id and weight columns 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

Choose a tag to compare

@jinseob2kim jinseob2kim released this 05 Apr 14:12
5edf08f

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

Choose a tag to compare

@jinseob2kim jinseob2kim released this 11 Dec 08:05
1ce0712

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

Choose a tag to compare

@jinseob2kim jinseob2kim released this 15 Nov 09:18
  • Update: Add event, count_by option in TableSubgroupCox, TableSubgroupMultiCox
  • Update: Add pairwise option in CreateTableOne2, CreateTableOneJS, svyCreateTableOne2, svyCreateTableOneJS
  • Update: Add labeldata option in TableSubgroupGLM, TableSubgroupMultiGLM, TableSubgroupCox, TableSubgroupMultiCox
  • Fix: cox2.display HR

v1.3.5 CRAN release

Choose a tag to compare

@jinseob2kim jinseob2kim released this 20 Oct 10:25
  • Fix: error in TableSubgroupMultiGLM when covariates

v1.3.4 CRAN release

Choose a tag to compare

@jinseob2kim jinseob2kim released this 24 Sep 02:24
  • Fix: error in forestcox when categorical binary outcome
  • Fix: error in forestglm when categorical covariates