# guideR 0.10.0

**New features**

* new experimental functions `contributions()` and `tbl_contributions()` to 
  estimate the contribution of each variable of a model (#62)`
* new experimental function `tbl_dominance()` to perform a dominance
  analysis (#64)

# guideR 0.9.0

**New features**

* new function `long_to_seq()` to convert from long format to a sequence
  object (#57)
* new argument `missing_text` for `theme_gtsummary_prop_n()` and 
  `theme_gtsummary_unweighted_n()` (#59)
* new argument `overall_string` for `theme_gtsummary_prop_n()` (#59)

**Improvements**

* `style_grouped_tbl()` and `grouped_tbl_pivot_wider()` now accepts tables
  generated with `gtsummary::tbl_stack()`
* `plot_trajectories()` now accepts survey object (#57)

**Bug fix**

* bug fix in `theme_gtsummary_unweighted_n()`

# guideR 0.8.1

**Bug fix**

* bug fix in `theme_gtsummary_prop_n(mean_sd = FALSE)`
* bug fix in `combine_answers()` when `data` is a `survey` object (#55)

**Improvements**

* `plot_multiple_answers_dodge()` now uses `safe_pal()` by default (#55)
* `plot_trajectories()` now uses `safe_pal()` by default (#56)

# guideR 0.8.0

**Minor breaking change**

* `theme_gtsummary_prop_n()` and `theme_gtsummary_unweighted_n()` have been
  updated following version 2.5.0 of `gtsummary` (#44)
* `plot_proportions()` has been reorganized (some column names have changed
  when calling `return_data = TRUE`)

**New features**

* new function `plot_categorical()` to plot a categorical variable by sub-groups
  using bar plots (#47)
* new function `plot_continuous()` to plot a continuous variable by sub-groups
  using bar boxplots (#47)
* new function `plot_means()` to compare means by sub-groups
* new method `mean_sd()` to compute means, standard deviation and confidence
  intervals by sub-group
* new method `median_iqr()` to compute medians, quartiles and interquartile
  ranges by sub-group
* new function `svyoneway()` to test for equal means for survey design object
* new `svyttest_oneway()` test for `gtsummary::add_p.tbl_svysummary` using
  `survey::svyttest()` for comparing 2 means and `svyoneway()` for comparing 3
  means or more
* new colour palette `safe_pal()` and corresponding scales `scale_fill_safe()`
  and `scale_colour_safe()` for `ggplot2` (#49)
* new argument `minimal` for `plot_proportions()` (#51)
* new argument `drop_ba_by` for `plot_multiple_answers()` and
  `plot_multiple_answers_dodge()`

**Fix**

* bug fix in `proportions()` when `.na.rm = TRUE` (#46)

# guideR 0.7.0

**New features**

* additional themes for `gtsummary`: `theme_gtsummary_prop_n()`,
  `theme_gtsummary_unweighted_n()`, `theme_gtsummary_fisher_simulate_p()` and
  `theme_gtsummary_bold_labels()` (#42)
* `fisher.simulate.p()`, an implementation of the Fisher test, with computation
  of p-values by Monte Carlo simulation in larger than 2×2 tables, to be used
  in `gtsummary::add_p()` (#41)

# guideR 0.6.0

**New features**

* new functions `plot_trajectories()` and `plot_periods()` to plot individual
  trajectories (similar to sequence index plots) (#35)
* new functions `view_dictionary()` and `view_detailed_dictionary()` to display
  the variable dictionary of a data frame, a tibble or a survey object (#33)
* `view_dictionary()` and `view_detailed_dictionary()` are also accessible
  through dedicated addins (#33)
* new utility `to_DT()` to convert the result of `labelled::look_for()` into
  a `DT::datatable()` (#33)
* new utilities for tables generated with `gtsummary`:
  `bold_variable_group_headers()`, `italicize_variable_group_headers()`,
  `indent_labels()` and `indent_levels()` (#34)

# guideR 0.5.1

**New feature**

* new function `plot_multiple_answers_dodge()` (#31)

**Fix**

* fix in `plot_multiple_answers()` with `NA` values when `drop_na = FALSE` (#31)

# guideR 0.5.0

**New features**

* new function `plot_multiple_answers()` to plot a multiple answers question
  coded as several binary variables (#29)
* new helper `combine_answers()` for multiple answers questions (#29)

# guideR 0.4.1

**New feature**

* new argument `dependencies` for `install_dependencies()` (#27)

# guideR 0.4.0

**New features**

* new helpers (`grouped_tbl_pivot_wider()`,
  `multinom_add_global_p_pivot_wider()` and `style_grouped_tbl()`) for grouped 
  tables generated by `gtsummary::tbl_regression()` for multinomial models,
  multi-components models or other grouped models (#3)
* `dummy_proportions()` helper for `plot_proportions()` (#21)
* new argument `free_scale` for `plot_proportions()` (#22)
* `install_dependencies()` now checks if dependencies are on CRAN/BIOC, installs
  those available and returns the list of packages not installed/updated.

# guideR 0.3.0

**New features**

* `plot_proportions()` now accepts several conditions (#18)
* `stratified_by()` helper for `plot_proportions()` (#19)
* new function `cut_quartiles()` (#13)
* new argument `convert_continuous` for `plot_proportions()` (#14)
* new argument `.drop_by_na` for `proportion()` (#12)
* new argument `drop_by_na` for `plot_proportions()` (#16)

**Bug fixes**

* fix in `proportion()` when `.conf.int = TRUE` and some rows have no
  observation (N = 0) (#15)

# guideR 0.2.0

**New features**

* `proportion()` could be applied to atomic vectors (#4)
* new function `periods_to_long()` (#7)
* new function `plot_proportions()` (#9)

# guideR 0.1.0

* initial CRAN submission.
