Releases: ahb108/rcarbon
Releases · ahb108/rcarbon
version 1.5.0
- UPDATE: Functions related to spatial permutation test (
spweights(),sptest(), andplot.spatialTest()) now depend onsfinstead ofsppackage. - UPDATE:
modelTest()now issues a warning message whenmodelis set to"exponential"or"uniform"(i.e. when the SPD is tested against exponential and uniform curves fitted on observed SPD values.) - UPDATE: Updated vignette with minor changes reflecting the workflow for
sptest()and the warning inmodelTest(). - Bug Fix: Fixed a problem with
plot.stackCalSPD()function when attempting to display proportion SPD plots including intervals with no dates. - Updated spatstat dependencies.
version 1.4.4
- Bug Fix: Fixed a bug in
spd()reducing thetimeRangewhendatenormalisedwas set to TRUE. - UPDATE:
calibrate()now issues a warning in case dates have calibrated probabilities outside the user definedtimeRangevalue. - UPDATE:
stackspd()now requires thegroupargument to be factors. Factor levels will be condition the plot order inplot.stackCalSPD(). - UPDATE: when setting the
rescale=TRUEandtype='multipanel',plot.stackCalSPD()will now display the true y-axis range of individual SPDs (instead of a rescaled 0-1 range).
version 1.4.3
- UPDATE: Reversed legend item order in
plot.stackCalSPD()to match display - UPDATE:
hpdi()now has the option to return a character vector with HPDI ranges in either BP or BCAD.
rcarbon 1.4.2
- Bug fix: Fixed a number of minor bugs and errors caused when the summed probability vector contains zero. Functions affected by this bugs were:
- proportion plots in
plot.stackCalSPD() summary()andplot()functions forSpdModelTestclass objects
- proportion plots in
- Bug Fix: Fixed issues with
summary()function onCalDatesclass object with multiple dates (thanks to nferebau for the bug report and fix)
plot.stackCalSPD()proportion plot to handle instances with 0 summed probability in the time Range of analysis. - UPDATE:
binMed()function can now handle largercaldatesobjects. - NEW:
poolDates()function allows the combination of 14C ages associated with the same event using Ward and Wilson 1978 method. - Minor bug fixes.
- Minor typos and errors in the help documentation.
- Updated dependencies for
spatstat(>= 2.0-0).
rcarbon 1.4.1
- UPDATE: Improved performance of the
calibrate()function (c.a 400% faster) - UPDATE:
multiplotallows for rescaled calibrated probability distribution (new argumentrescale) for improved readability. - UPDATE: The package vignette now includes examples from new functions such as
multiplot()andstackspd(). - UPDATE:
hdmi()now computes the probability mass of each age bracket (thanks to hanecakr for the suggestion and sample code) - NEW:
transformSPD()allows for taphonomic (and other user-defined) corrections to SPDs. - Bug fix: Fixed color matching and improved label placing in the
multiplotfunction. - Bug fix: calCurve='normal' no longer causing error in
calibrate()
rcarbon 1.4.0
- IntCal20, ShCal20, and Marine20 curves added; IntCal20 is now the default calibration curve for
calibrate().
rcarbon v 1.3.3
- Minor changes on NAMESPACE and test environment to ensure CRAN checks for all operating systems
rcarbon v 1.3.2
- Bug fix :
F14C=TRUEwas producting an error message incalibrate()after refactoring in version 1.3.1. - Bug fix : fixed error in the handling of
resErrors(Delta R error) for marine reservoir effect. - NEW:
stackspd()creates a set of multiple SPDs as an object of classstackCalSPDwith a dedicated plot function. - NEW:
multiplot()function for displaying multiple calibrated dates. - NEW:
hpdi()function for computing highest probability density intervals of calibrated dates. - NEW:
combine()function for concatenating multiplecalDatesclass objects. - UPDATE:
calibrate(),modelTest(), andsptest()are now parallelised using the doSNOW package, enabling progress bar when running over multiple cores.
rcarbon 1.3.1
Version 1.3.1
binPrep()now accepts alternative clustering algorithms- Refactoring of calibration related functions to increase readability
- Minor bug fixes
rcarbon v.1.3.0
- UPDATEs in
modelTest():- Added an error message and a note in the help documentation warning users to not use calibration curves not supported by
uncalibrate(). - NEW argument
gridclipto add range constrain in the simulation envelope. When set to TRUE the sampling is executed within the observed range of dates. - UPDATE
timeRangecan now be left undefined, in which case the range of median calibrated observed dates is used. - NEW argument
normalisedhandles whether simulated dates should be normalised or not. - NEW arguments
backsightandchangexprenabling the comparison of expected and observed rates of changes. - UPDATE: improved performance of
calsampleanduncalsamplemethods (update inuncalibrate()) ` - Bug fix: users no longer need to specify
nsimwhenfitonlyis set to TRUE.
- Added an error message and a note in the help documentation warning users to not use calibration curves not supported by
- UPDATE in
permTest()- NEW arguments
backsightandchangexprenabling the comparison of expected and observed rates of changes.
- NEW arguments
- UPDATE in
spd(): aggregation matrix now spans beyondtimeRangeto avoid edge effects. - UPDATE in
calibrate(): the new argumentF14Cenables calibration in F14C space. - UPDATE in
SPpermTest():- function is deprecated and renamed
sptest() - function now allows user defined expression for computing the rate of change
- function is deprecated and renamed
- UPDATE in
spd2gg():- function is deprecated and renamed
spd2rc() - function now allows user defined expression for computing the rate of change
- rates of changes can now be based on abutting time-blocks (e.g. 5600-5501 to 5500-5401) or a fixed interval across all years.
- function is deprecated and renamed
- NEW:
thinDates()function to randomly select a maximum number of dates per site, bin or phase. - NEW:
as.CalDates()function converts dates inBchronCalibratedDatesclass (Bchron) andoxcAARCalibratedDatesListclass (oxAAR) into CalDates` class (rcarbon). - NEW:
sampleDates()function for sampling random dates from calibrated dates or bins. - NEW:
ckde()function for generating composite kernel density estimates. - NEW: Suite of functions for mapping the spatial intensity of a set of radiocarbon dates via Kernel Density Estimates.
stkde()Map the spatio-temporal intensity of a set of radiocarbon dates across multiple yearsspkde()Map the spatial intensity of a set of radiocarbon dates for a given focal year.- Associated
plot()function.
- NEW:
subset()andwhich.CalDates()for subsetting and extracting indices of calibrated dates based on temporal intervals described by logical conditions (e.g. between 5500 and 4500 cal BP) and user defined probability mass. - Bug fix: fixed display error in some
plot()functions when calendar is set to `BC/AD' - Bug fix: fixed error in the computation of the combined uncertainties in
mixCurves(). - Further minor bug fixes for R 4.0.0