binPrep | R Documentation |
Prepare a set of bins for controlling the aggregation of radiocarbon dates
known to be from the same phase of same archaeological site (for use with spd
). Used in cases where there is a concern that unusually high levels of sampling for radiocarbon at a given site or in a given site phase will impede comparison between sites or phases.
binPrep(sites, ages, h, method = "complete")
sites |
a vector of character strings (or number to coerce to character) of all sites or site phases. If character strings are used these should not contain underscores (see also below) |
ages |
a vector of uncalibrated conventional radiocarbon ages or a |
h |
a single numeric value passed to |
method |
the agglomeration method to be used, passed on to |
If ages
is a CalDates
class object, median dates are used for the clustering.
A vector of character strings with the same length of the object supplied for the argument ages
identifying intra-site or intra-phase grouping, for use with spd
.The character strings effectively provide a "name" for each "phase" within a "site", using sequential integers after an underscore. For example if a site named "S001" had four dates grouped into two bins with two dates each, the resulting vector would be "S001_1", "S001_1", "S001_2", and "S001_2".
spd
for generating SPD; binsense
for sensitivity analysis pertaining the choice of the parameter h
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.