- Added in a BchronCheck function to allow for checking of all argument types using checkmate
- Added in positionEps argument to Bchronology to avoid positions being simulated too close to each other and leading to numerical underflow errors
- Changed default colours of dates in plot.CalibratedDates and plot.BchronologyRun
- Added an extra check that all ageSds are bigger than zero
- Allowed the option for calibrating dates out of calibration curve range
- Included vdiffr tests for plots
- Updated the BchronDensity and BchronDensityFast functions to show lines on top of dates
- Included ability in above functions to change amount of date transparency
- Used styler to make the syntax follow tidyverse style guidelines
- Fixed bug in starting values which occasionally produced values before the extractDate
- Fixed bug in choosePositions where position chosen was at the edge of the domain
- Fixed a weird bug where some hdrs were coming out the wrong way in plot.Bchronology
- Add the ability to create OxCal style plots with the calibration curve
- Added a feature to plot individual dates in plot.BchronCalibratedDates
- Included intcal20, shcal20, and marine20 new calibration curves
- Fixed a bug in Bchronology that caused incorrect predictions
- Fixed a(nother) small bug in predict.Bchronologies
- Included proper testthat, travis, and code coverage
- Fixed bug in predict.Bchronologies
Fixed two important bugs:
- Fixed a mistake in BchronCalibrate that will cause calibrated to have incorrect error ranges compared to OxCal
- Fixed a problem that occurred in very straight chronologies where a certain parameter would go to zero and cause numerical underflow
- Fixed some minor issues with ggplots
- Added in code for scaling the x-axis
- Changed plots to use ggplot2 via ggridges
Added some new functions:
- dateInfluence, which works out how influential a single date is in a core
- coreInfluence, which tries to estimate the total uncertainty reduction/increase between two Bchronology runs
- choosePositions, which suggest new positions/depths to date to maximally reduce uncertainty