tidyposterior 1.1.0
New
stan_glmer_inits()computes data-based starting values for the Bayesian models used byperf_mod(). The results can be passed torstanarm::stan_glmer()(directly or viaperf_mod(..., init = )) and can shorten warmup for models that are slow to converge, such as those with heterogeneous variances.perf_mod()gains aninitializeargument (defaultFALSE) that computes and applies these starting values automatically, reusing the samplerseed(when one is passed) so that the entire fit is reproducible.Fixed a bug where
perf_mod()duplicated the resampling statistics for workflow sets: when more than one metric had been collected, each statistic was included in the Bayesian model once per metric.New
compare_to_leader()contrasts every model in aperf_mod()object against the best model in the set and returns a data frame of probability statements about how much each candidate gives up relative to that leader.autoplot()on the result draws the posterior metric intervals alongside those probabilities.New
initialize_keys()builds a template of model labels to edit and pass to thekeyargument ofcompare_to_leader().perf_mod()gains aselect_bestargument for workflow sets. Workflows are always reduced to their own best tuning parameter candidate;select_best = TRUEadditionally collapses workflows that fit the same type of model with the same engine down to the best of each group, so that each model type/engine combination competes once. The default,FALSE, keeps the existing behavior of one competitor perwflow_id.
tidyposterior 1.0.2
CRAN release: 2025-07-31
Maintenance release for an upcoming ggplot2 release (#74).
Transition from the magrittr pipe to the base R pipe.
tidyposterior 1.0.1
CRAN release: 2023-10-11
Maintenance release for a broken test in current R-devel.
Maintainer email change.
tidyposterior 1.0.0
CRAN release: 2022-06-23
Transition from
gather()topivot_longer().Update to testthat 3e.
tidyposterior 0.1.0
CRAN release: 2021-03-25
The
ggplot()methods are now removed in factor ofautoplot()methods.perf_mod()methods added for tuning parameter objects fromtune,finetune, andworkflowsets.rstanarmversion 2.21.1 or higher is now required due to changes to their APIs.Re-licensed package from GPL-2 to MIT. All copyright holders are RStudio employees and give consent.
tidyposterior 0.0.3
CRAN release: 2020-06-11
contrast_models()now returns a tibble and has an extra column calledcontrast.The plot methods are now deprecated and will be removed in the next version. They are not very good and can be replaced with simple
ggplotcode.An optional formula argument was added to
perf_mod.rset()andperf_mod.data.frame(). When the resampling method has multiple ID columns, a nested data structure is assumed (with a warning). The newformulaargument can be used to over-ride the nesting.
tidyposterior 0.0.2
CRAN release: 2018-11-15
A small, maintenance release.
Minor bug fixes and improvements
Moved from the
broompackage to thegenericspackage to get thetidygeneric.ggplot2was moved to SuggestsThe sole
tidymethod was more explicitly exported so that thegenericsman files show the method.The large RData objects containing the examples have been removed from the package and are accessible via a link to the GitHub repo.
