Skip to contents

mcmcr 0.7.0

New features

  • coef() methods and tidy.mcmcr() gain a directional_information argument. When TRUE the svalue column reports extras::directional_information() in place of extras::svalue() (#71, #84). The default is currently FALSE and will change to TRUE in a future release; calling either function without setting directional_information now signals a deprecation warning so the change can be made explicit.

Breaking changes

  • tidy.mcmcr() now defaults to simplify = TRUE, matching the nlist tidy() methods.
  • coef(simplify = FALSE), deprecated in 0.4.1, is now defunct (#74).
  • The re-exports of term’s parameters() and parameters<-(), which are defunct in term, have been removed (#85).
  • rhat.mcmcrs(bound = TRUE) now returns a named list of scalars rather than a single scalar; use rhat(x, bound = TRUE)$bound for the previous behavior. The change is signaled with a warning (#74).

Deprecations

The following, soft-deprecated in 0.2.1, now warn on every use (#72):

Minor improvements and fixes

  • extras is now required at version 0.10.0 or later, and nlist at version 0.5.0 or later.

mcmcr 0.6.2

CRAN release: 2025-01-23

  • Depends on R >= 4.0.
  • When bound = TRUE rhat() now also returns rhat values for separate analyses.
  • When bound = TRUE and as_df = TRUE rhat() now returns a data.frame with the rhat values for the separate and combined analyses.

mcmcr 0.6.1

CRAN release: 2021-09-06

  • Update testing to testthat 3.

mcmcr 0.6.0

CRAN release: 2021-08-05

  • Added fill_na() for mcarray, mcmcarray and mcmcr.
  • Fixed as.mcmcarray.mcmc() (and as.mcmcr.mcmc()) so now returns an mcmcarray (and mcmcr) object with no terms.

mcmcr 0.5.0

CRAN release: 2021-02-11

  • Added
    • tidy.mcmcr().
    • simplify = FALSE argument to coef() and tidy() and soft-deprecated if not TRUE.
    • ... optional arguments for fun = median argument to estimates().
  • Moved as_nlists.mcmc.list() to nlist package.

mcmcr 0.4.0

CRAN release: 2020-09-27

  • Added as_mcmc_list.mcmr().
  • Moved the following to nlist
    • as_nlist.mcmc() and as_nlist.mcmc.list()
    • as_nlists.mcmc()
    • as.term.mcmc() and as.term.mcmc.list()
    • bind_iterations.mcmc() and bind_iterations.mcmc.list()
    • collapse_chains.default() and collapse_chains.mcmc.list()

mcmcr 0.3.0

CRAN release: 2020-07-13

mcmcr 0.2.0

CRAN release: 2019-06-27

  • Added check_mcmcr() and check_mcmcarray().
  • Fixed by and as_df arguments in converged().
  • Added more tests.
  • Removed as.mcmc.mcmc.list(), thin.mcmc() and thin.mcmc.list() as now defined by coda.
  • No longer export as.mcmc.list.mcarray() as clashes with rjags version.

mcmcr 0.1.0

CRAN release: 2019-04-26

  • Added mcmc_aperm() function to transpose parameter dimensions.
  • Added npdims() function to get number of parameter dimensions.
  • Added by = TRUE argument to mcmc_map() function.
  • Removed tibble package from suggests.
  • rhat() now returns minimum of 1.
  • Defined subset() and parameters() for mcmcrs object.
  • Added bound = FALSE argument to rhat.mcmcrs() and converged.mcmcrs() functions.

mcmcr 0.0.3

CRAN release: 2018-11-24

  • Moved graphics, coef, tibble packages from imports to suggests.
  • Replaced internal error() with err::err().

mcmcr 0.0.2

CRAN release: 2018-10-30

  • Allowed NAs in values to calculate pvalues.
  • Updated to not use length argument in checkr as deprecated.

mcmcr 0.0.1

CRAN release: 2018-04-13

  • Released to CRAN.