Skip to contents

g6tr.lx 0.2.2

  • lx_fit() now constructs predictor model data more robustly: behavior is no longer affected by global contrast options or incomplete cases.
  • Parsing and print.lx_data() now make missing-predictor cases more transparent.
  • Non-factor predictors are now explicitly rejected during parsing; support may be added later if needed.
  • lx_summary_for_cohort_set_render() now includes majority columns when majority data is available.
  • lx_summary_for_cohort_set_render() now omits absent component columns within subgroup blocks by default; set drop_empty_components = FALSE to keep empty slots.
  • Bundled example data/model objects were refreshed so example predictors are factors and the example model includes majority data.

g6tr.lx 0.2.1

  • style_icon() now supports fontface for dumbbell-plot endpoint icons (length 1 or 2), and renames font_family to family and halo_k to halo_size to match the corresponding ggplot parameters.
  • Added style_reference_line() for configuring the dumbbell plot reference line style.

g6tr.lx 0.2.0

  • lx_fit() now attaches the input lx_data object to the fitted model in a data field.
  • Added metadata support with lx_set_metadata() (statement, experiment) and automatic metadata carry-over from lx_data to lx_model in lx_fit().
  • Added posterior predictive checks with lx_ppc(), crps_draws(), and spreadsheet rendering via lx_ppc_render().
  • lx_parse_data() now supports optional weight_col, stores weights in parsed data, and automatically attaches experiment metadata.
  • Added lx_cohort_set_from_predictors() and expanded character cohorts support ("predictors", "population", and explicit predictor vectors) across: lx_predict_for_cohorts(), lx_ppc(), lx_strip_plot(), lx_dumbbell_plot(), and lx_design_effect().
  • lx_predict_for_cohorts() now returns an NA summary (instead of erroring) when a cohort has no matching IDs.
  • lx_summary_for_cohort_set() now derives experiment labels from model metadata (statement, fallback to experiment with warning), ignores model list names, and aborts on duplicated resolved labels.
  • lx_summary_for_cohort_set_render() now shows weighted n in value cells (instead of headers), uses packed n/val columns in population-comparison output, keeps the artificial population level first within each subgroup, and preserves grouping-variable order from input summaries.
  • Added lx_prune() for compressing list experiment models.
  • Added lx_export() for JSON export of compressed model summaries.
  • lx_export() now includes statement, experiment, and predictors in the JSON payload.
  • Fixed sim_private generation in the Stan model (private_sim computation).
  • Fixed a bug in lx_parse_data() that occurred when majority columns were missing.
  • Fixed print.lx_data() ASCII summary: corrected control vs treatment aggregation for public bars, and now shows per-group non-missing n counts (private/public/majority).
  • lx_strip_plot() no longer shows a majority row when the model has no majority data and now preserves cohort-set order in faceted output.
  • lx_strip_plot() and lx_dumbbell_plot() now use model statement metadata as plot title when available.

g6tr.lx 0.1.1

Fixed halo positioning logic in geom_text_filled_halo().

g6tr.lx 0.1.0

Initial setup