Create a mixed calibration curved
Proportion of the first calibration curve required. e.g., change to proportion=0.7
if cc1
should contribute 70% (and cc2
30%) to the mixed curve.
The first calibration curve to be mixed. Defaults to the northern hemisphere terrestrial curve IntCal20.
The second calibration curve to be mixed. Defaults to the marine curve IntCal20.
Name of the new calibration curve.
Name of the directory where to save the file. Since R does not allow automatic saving of files, this points to a temporary directory by default. Adapt to your own folder, e.g., dir="~/Curves"
or in your current working directory, dir="."
.
Boolean to hide status messages.
# Curve for neotropics
ageR::mix_curves(0.5, 1, 3, name = "neotropics.14C")
#> --------------------------------------------------------------------------------
#> | Mixed curved: 50/50 created. |
#> --------------------------------------------------------------------------------
# Curve for coastline (Northern hemisphere)
ageR::mix_curves(0.7, 1, 2, name = "nh_coastal.14C")
#> --------------------------------------------------------------------------------
#> | Mixed curved: 70/30 created. |
#> --------------------------------------------------------------------------------
# Curve for coastline (Southern hemisphere)
ageR::mix_curves(0.7, 3, 2, name = "sh_coastal.14C")
#> --------------------------------------------------------------------------------
#> | Mixed curved: 70/30 created. |
#> --------------------------------------------------------------------------------
# Clean output
unlink("ccurves", TRUE, TRUE)