binMed | R Documentation |
Function for generating a vector of median calibrated dates for each each bin.
binMed(x, bins, verbose = TRUE)
x |
A |
bins |
vector containing the bin names associated with each radiocarbon date. Can be generated using |
verbose |
A logical variable indicating whether extra information on progress should be reported. Default is TRUE. |
A vector of median dates in cal BP
binPrep
,barCodes
## Not run:
#Load EUROEVOL Data
data(euroevol)
#Subset Danish Dates
denmark <- subset(euroevol,Country=="Denmark")
#Calibrate and Bin
denmarkDates <- calibrate(x=denmark$C14Age,errors=denmark$C14SD)
denmarkBins <- binPrep(sites=denmark$SiteID,ages=denmark$C14Age,h=200) #200 years bin size
#Compute median date for each bin
binMed(x=denmarkDates,bins=denmarkBins)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.