Skip to contents

g6tr.segmentation 0.2.14

  • Added engine parameter to tt_model_render_tt_xlsx(). The new engine = "excel" path uses Excel-safe dropdown sources and Excel-oriented formulas in allocation tabs, while the default keeps the existing Google Sheets-oriented rendering.
  • Added respondent_id as the first column in the “Database Allocation” tab.
  • Added database_prefill_n and database_formula_rows parameters to tt_model_render_tt_xlsx() to control how many database allocation rows are prefilled and how many rows are prepared with formulas, validation and styling.

g6tr.segmentation 0.2.13

  • Updated underlying prettyxlsx calls to stop supplying character values to xlsx_set_colWidth(), which no longer accepts them.

g6tr.segmentation 0.2.12

g6tr.segmentation 0.2.11

  • New rack_put_md_stats() and shelf_make_md_stats() functions to compute MaxDiff statistics for segmentation solutions.
  • Fixed a bug in rack_segment_alluvial_plot() where color palette assignment respected alphabetical order of segment names rather than the factor level ordering of the segments column.
  • Added quiet parameter to all render functions to control warnings behavior, allowing rack_render_everything() to suppress expected warnings about missing data while maintaining informative warnings for direct function calls.

g6tr.segmentation 0.2.10

  • Rebuilt example_tt_model to address an error caused by a parsnip update.

g6tr.segmentation 0.2.9

New set of functions for detecting response scale bias:

g6tr.segmentation 0.2.8

  • Cleaning up check_ functions and using g6tr.ui and prettyxlsx instead.

g6tr.segmentation 0.2.7

g6tr.segmentation 0.2.6

  • New function shelf_make_harvey_balls_xlsx() for automating the harvey balls creation process.

g6tr.segmentation 0.2.5

  • New vignette on predicting segments on new data.
  • Resolved an issue in tt_model_predict() that caused failures for certain model types when the feature order differed from the original.

g6tr.segmentation 0.2.4

g6tr.segmentation 0.2.3

g6tr.segmentation 0.2.2

g6tr.segmentation 0.2.1

  • Added tab coloring in xlsx summary for better navigation.

g6tr.segmentation 0.2.0

  • Removed all functions that are now in the prettyxlsx package.
  • “Typing Tool” tabs in the spreadsheet summary are now merged into one.
  • “Feature Importance” tabs in the spreadsheet summary are now merged into one.
  • Added column filters to wide and tall index tabs.

g6tr.segmentation 0.1.8

  • More appropriate documentation and error message about factor feature columns in pack_model_data().

g6tr.segmentation 0.1.7

tt_model_render_tt_xlsx()

  • Implemented segment probability calculation in both “Individual Allocation” and “Database Allocation” tabs.
  • Fixed a bug in “Individual Allocation” tab rendering.

g6tr.segmentation 0.1.6

  • Fixed a bug in brier score calculation when segments have names.
  • Fixed incorrect styling, merging and column sizing in xlsx TT “Performance” tab for when number of segments != 3.
  • Adaptive note sizing in xlsx TT “Performance” tab.
  • New Gradient logo in xlsx TT “Overview”

g6tr.segmentation 0.1.5

g6tr.segmentation 0.1.4

g6tr.segmentation 0.1.3

New set of functions for working with final TT solutions

g6tr.segmentation 0.1.2

Bug fixes

  • Brought back label column to shelf_make_indices_boxed() output.
  • Fixed a bug in brier score calculation when not all segments are present in data.
  • Some segments in an NMF model may happen to be empty. In such a case NMF predict method drops them from factor levels of the vector of assigned segments. Added a fix to bring such segments back.
  • TT models are now run with parsnip control catch = TRUE which in case of an error captures the error message and doesn’t break the execution. Updated metric_* functions to handle failed model fits without breaking.
  • xlsx_find_best_colWidth() now doesn’t fail when a column consists of all NaN-s.

New features

g6tr.segmentation 0.1.1

Supplemental data in index summaries

More robust usage of supplemental dataframes in boxed and detailed index summaries. This means that when you pass a dataframe to data argument of *_indices_boxed() and *_inices_detailed() functions, the dataframe will be checked:

  • to have a column named exactly “id”, which will be used for joining the supplemental data
  • this column must have a compatible class with “id” column of the original model data. The compatibility is defined in terms of dplyr join functions.
  • if the supplemental data does not contain all the cases of the original model data, user will be given a warning.

Other updates to detailed and boxed index functions

  • Added na.rm parameter which is passed to g6tr.survey::srv_prop_stats_crossing() when indices are calculated.
  • rack_render_indices_detailed() now handles printing of missing levels. By default missing levels are displayed as “(Missing)”.
  • Warning when some of the columns have too many levels – in the first place to detect accidental usage of continuous columns in index summaries.

Bug fixes

  • Fixed a bug in xlsx_find_best_numFmt() when some values are missing.

g6tr.segmentation 0.1.0

Initial setup