- Improved error handling in some functions.
- Reduced and improved messaging and warning behaviour.
- Fixed slight problem in
generate.stepsize()
where it would not handle same values in min & max dating properly. - Completely updated and redesigned tests.
- Removed unnecessary internal function
check.number()
.
- Using either the original calculation (weights) or calculation of
year-wise probability is now an option in
datsteps()
with the argumentcalc = "weight"
orcalc = "probability"
- There is now an option to calculate the cumulative probability in
datsteps()
with the argumentcumulative = TRUE
. This only works with probability calculation instead of the original (weights) calculation. - Significantly improved the efficiency of
datsteps()
. - Change and improve error-handling of
scaleweight()
. - Remove UTF-8 characters from data and other files to comply with CRAN.
- Update documentation and add a pkgdown-site.
- Change calculation in
get.weights()
to1 / (abs(DAT_min - DAT_max) + 1)
to get real probability values for each year. This only has a real effect when using a stepsize of 1, as it makes the weight-values usable as "dating probability". - Clean up
calculate.outputrows()
andscaleweight()
somewhat.
- Added a
NEWS.md
file to track changes to the package - some style corrections
- First release for submission to CRAN, accepted -> datplot is now on CRAN
- peer-review version for Advances in Archaeological Practice