Skip to contents

g6tr.md 0.3.8

  • Docs fixes.

g6tr.md 0.3.7

  • Implementing md_get_individual_average_probs().

g6tr.md 0.3.6

  • New parameter to Turf(): Added n_popular in Turf()$calc_threshold_reach_popular(). n_popular can be NULL, a single value (which will be applied to all turf combinations) or a vector of numbers.

g6tr.md 0.3.5

  • Added optional item_metadata argument to md_render_stats_summary(), allowing supplementary columns with item descriptions to be included in the summary.
  • In md_render_stats_summary(), the item column and any item metadata columns (if supplied) are now frozen for easier navigation.
  • Added order_by argument to md_render_stats_summary(), allowing items to be ordered by number, color, or a column from item_metadata.

g6tr.md 0.3.4

  • Added progress bar to md_stats() when running on cohort sets.
  • md_create_design() now shuffles items within each block.
  • Updated md_stats_individual.cohort() to handle provided cohorts properly.
  • Fixed a bug introduced with the latest releases of dfidx and mlogit.
  • New spearman_footrule() function to calculate Spearman foot-rule distance between two rankings. In the context of MaxDiff models, this is for comparing item rankings of two different models.

g6tr.md 0.3.3

  • R6 object Turf() for running TURF Analysis.

g6tr.md 0.3.2

g6tr.md 0.3.1

g6tr.md 0.3.0

  • Removed old deprecated Maxdiff functions.
  • md_parse_data() now returns a single tibble with item labels encoded in levels of item column.
  • md_model() now accepts anchor_data argument to run models with anchor data.
  • Completely rewrote md_stats() to support Bayesian confidence intervals and comparison metrics for multiple statistics across both aggregate and individual-level models.
  • md_render_stats_summary() for creating spreadsheet summaries based on md_stats() results.

g6tr.md 0.2.6

g6tr.md 0.2.4

  • Bayesian approach to MaxDiff with md_bayesian_model()

g6tr.md 0.2.3

  • Updated the code running mlogit() to work with the latest mlogit version.
  • Removed deprecated mlogit-related functions.

g6tr.md 0.2.2

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

g6tr.md 0.2.1

g6tr.md 0.2.0

New MD workflow

  • md_parse_data() to extract MD experiment data from a display-order survey dataframe in a format suitable for applying models.

  • create_data_subgroups() to define data subgroups to run MD models on.

  • md_mlogit_model_subgroups() to run MD model on data obtained with md_parse_data() within subgroups defined by create_data_subgroups(). This function creates a nested dataframe with one row per each subgroup and MD models and MD stats stored in corresponding cells.

  • md_subgroups_put_plots() to append a column with plots to a result of md_mlogit_model_subgroups()

g6tr.md 0.1.12

g6tr.md 0.1.11

  • Fixed answering assertion in md_assert_data() to correctly remove respondents that didn’t provide both a best and worst option.
  • Fixed a bug with plot title in md_plot().

g6tr.md 0.1.10

g6tr.md 0.1.9

  • g6tr.dev was renamed to g6tr.ui.

g6tr.md 0.1.8

  • Use g6tr.dev::check_g6tr_cran_for_new_version() on package startup.

g6tr.md 0.1.7

md_plots updates:

  • Refactored to use same subfunction for the whole population and for groups.
  • Resulting list of plots is properly named.
  • Added color_most and color_least parameters to control plot colors.
  • Added wrap_length parameter to control wrapping of y axis labels.
  • ylims parameter renamed to lims because in fact it always meant percentage limits on x axis, not y.
  • Resulting plots now contain group name in title and population size in subtitle.

Other updates:

  • md_apply_labels() now also calculates population sizes.
  • Fixed md_assert_data() for type = "gradient" incorrectly parsing issue indices when variable names contain digits in the middle.
  • md_assert_data() now throws an error if weakest_value is not present in data.
  • md_mlogit_model(): added drop_na parameter to drop response groups corresponding to NA category.

g6tr.md 0.1.6

  • Apply styler.

g6tr.md 0.1.5

  • md_assert_data() now warns if provided weakest_value is not present in the data

g6tr.md 0.1.4

  • fixed md_plots() function so it’s possible to use arrows as labels once again.

g6tr.md 0.1.3

  • added rmarkdown to Suggests

g6tr.md 0.1.2

  • g6tr.md startup local version verification was extended since the internal CRAN allows to install old versions of packages now.

g6tr.md 0.1.1

* g6tr.md on startup verifies whether the local package version is up to date with the one on the internal CRAN.

g6tr.md 0.1.0

  • Instantiate g6tr.md package that took functions from g6tr.analytics 0.2.4
  • md_write_xlsx() was abandoned because of lack of the usage.
  • changed dplyr::progress_estimated to progress::progress_bar due to depracation