Skip to contents

posterior 1.7.0

Bug Fixes

  • Fix several minor issues occurring in edge cases.

Enhancements

  • Extend and export several functions related to the generalized Pareto distribution for use in other packages. (#408)
  • Support Pareto PIT functionality via pareto_pit. (#435)
  • Allow more warnings to be turned off via option posterior.warn_on_merge_chains.
  • Improve documentation in many places.
  • Improve tests by checking for edge cases.

posterior 1.6.1

CRAN release: 2025-02-27

Bug Fixes

  • Fix a test issue that led to an R CMD check failure on R devel.

Enhancements

  • Convert lists of matrices to draws_array objects.
  • Improve the documentation in various places.
  • Implement pit() for draws and rvar objects. LOO-PIT can be computed using weights.

posterior 1.6.0

CRAN release: 2024-07-03

Enhancements

posterior 1.5.0

CRAN release: 2023-10-31

Enhancements

  • Added support for nested-Rhat via rhat_nested (#256)
  • Added support for indexing draws in rvars using rvars (#282):
    • x[i] or x[i] <- y where i is a scalar logical rvar slices (or updates) x by its draws. Thus, if y <- x[i], then y is the same shape as x but with sum(i) draws.
    • x[[i]] or x[[i]] <- y where i is a scalar numeric rvar slices (or updates) x by selecting the ith element within each corresponding draw. Thus, if y <- x[[i]], then y is an rvar of length 1.
  • Added rvar_ifelse(), which is a variant of ifelse() that accepts (and returns) rvars (#282).
  • Array broadcasting for rvars has been made faster.

Bug Fixes

posterior 1.4.1

CRAN release: 2023-03-14

Bug Fixes

posterior 1.4.0

CRAN release: 2023-02-22

Enhancements

Bug Fixes

  • Ensure that as_draws_rvars() preserves dimensions of length-1 arrays (#265).
  • Fix some minor compatibility issues with rvar, vctrs, dplyr, and ggplot2 (#267, #269).

posterior 1.3.1

CRAN release: 2022-09-06

  • Minor release that fixes some CRAN check failures.

posterior 1.3.0

CRAN release: 2022-08-15

Enhancements

Bug Fixes

  • Support remaining modes of diag() for rvars (#246).
  • Better parsing for named indices in as_draws_rvars(), including nested use of [, like x[y[1],2] (#243).
  • Allow 0-length rvars with ndraws() > 1 (#242).
  • Ensure 0-length rvars can be cast to draws formats (#242).
  • Don’t treat length-1 rvars with more than 1 dimension as scalars when casting to other formats (#248).

posterior 1.2.2

CRAN release: 2022-06-09

Enhancements

  • Improve the mcse_sd function to not make a normality assumption. (#232)

posterior 1.2.1

CRAN release: 2022-03-07

Bug Fixes

  • Correctly transform lists of data.frames into draws_list objects.
  • Correctly drop variables on assigning NULL in mutate_variables. (#222)

posterior 1.2.0

CRAN release: 2022-01-05

Enhancements

Bug Fixes

  • fix hidden variables in bind_draws.draws_df when binding more than two objects thanks to Jouni Helske (#204)
  • fix output of pillar::glimpse() when used on a data frame containing rvars (#210)
  • drop "draws" and "draws_df" classes from draws_df objects if meta data columns are removed by a dplyr operation (#202)
  • fix output of print.draws_df() on objects with unrepaired draws (#217)
  • ensure variance() works properly with summarise_draws() (#219)

posterior 1.1.0

CRAN release: 2021-09-09

Enhancements

  • use matrixStats to speed up convergence functions (#190) and rvar summaries (#200)

Bug Fixes

  • ensure that as_draws_rvars() works on lists of lists (#192)
  • fix some vector recycling issues with rvar_rng (#195)
  • ensure that subset_draws() respects input variable order, thanks to Karl Dunkle Werner and Alexey Stukalov (#188)

Other Changes

  • No longer check for constant-per-chain input in effective sample size diagnostics as this is overly conservative especially for ess_tail. (#198)

posterior 1.0.1

CRAN release: 2021-07-14

  • ensure that all unit tests pass on all CRAN environments
  • fix a problem that sometimes lead to rvars being unnecessarily slow (#179)

posterior 1.0.0

CRAN release: 2021-07-13

  • initial CRAN release

posterior 0.1.0

  • beta release