Skip to content

Commit

Permalink
Add NEWS to #33
Browse files Browse the repository at this point in the history
  • Loading branch information
RLumSK committed Jun 3, 2023
1 parent 407592d commit 166abd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 41 deletions.
3 changes: 2 additions & 1 deletion NEWS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ knitr::opts_chunk$set(

## Bugfixes and changes

* dummy
* Drop dependency to deprecated package `'ArchaeoPhases'` and make corresponding
code an internal function (PR #33, @nfrerebeau)
43 changes: 3 additions & 40 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,11 @@

<!-- NEWS.md was auto-generated by NEWS.Rmd. Please DO NOT edit by hand!-->

# BayLum 0.3.1 (2023-03-28)
# BayLum 0.3.2.9000-1 (2023-06-03)

**This version of `'BayLum'` requires R\>=4.1.x!**

## Bugfixes and changes

- `AgeS_Computation()` & `Age_OSLC14()` had two instances of the
MCMC-list. One has been removed. This essentially halves the amount of
memory needed to store the output of these functions. (Thanks to G.
Guérin for reporting) (#27)

- `AgeS_Computation()` crashed reproducibly, if the THETA matrix (as one
possibility) was provided indeed as a file name instead of a `matrix`
object; fixed (thanks to M. Heydari for reporting)

- `AgeS_Computation()` the function handles wrong user input for the
Theta matrix more friendly by converting it automatically to a matrix
if needed.

- `create_ThetaMatrix()` the function did not throw an error in all
cases where `sigma_s` was obviously wrong; fixed (thanks to M. Heydari
for reporting)

- `Generate_DataFile_MG()` the function now checks that the number of
specified BIN/BINX-files matches the actual number of BIN/BINX-files
present in the folders. If not, a warning is prompted. This prevents
hard-to-track-down error messages and odd modelling results that
erroneously encourage searching for problems with JAGS or the
`'BayLum'` models.

- `plot_Ages()` gained a couple of new arguments. First, `plot_mode`
allows to switch between the standard plot output `"ages"` (the
default) and the new option `"density"`. The latter draws probability
density curves instead of lines. Further arguments specific to the
`plot_mode = "density"` are `d_scale` to scale the density plots in
height and `show_ages` to show the Bayes estimator. More generally,
`legend.cex` was added to enable a convenient scaling of the legend
fonts; this works for both plot modes.

- `plot_MCMC()` gained additional support for `BayLum.list` returned by
`Age_OSLC14()`

- `plot_Scatterplots()` The functions can now handle `BayLum.list`
objects if returned by certain functions. Currently:
`AgesS_Computation()`, `Age_OSLC14()`
- Drop dependency to deprecated package `'ArchaeoPhases'` and make
corresponding code an internal function (PR \#33, @nfrerebeau)

0 comments on commit 166abd3

Please sign in to comment.