x: A vector containing median values obtained from medCal or binMed
yrng: y-axis range of the bars.
width: width of the bars (optional)
col: color of the bars
border: the color to draw the border. Use border = NA to omit borders.
...: Additional arguments affecting the plot
Examples
## Not run:#Load EUROEVOL Datadata(euroevol)#Subset Danish Datesdenmark <- subset(euroevol,Country=="Denmark")#Calibrate and BindenmarkDates <- 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 binbm <- binMed(x=denmarkDates,bins=denmarkBins)#Compute median date for each datedm <- medCal(denmarkDates)#Compute SPD denmarkSPD <- spd(x=denmarkDates,bins=denmarkBins,timeRange=c(10000,4000))#Plot SPD and barCodes of median datesplot(denmarkSPD,runm=200)barCodes(dm,yrng=c(0,0.01))#Plot SPD and barCodes of median bins in BC/ADplot(denmarkSPD,runm=200,calendar="BCAD")barCodes(BPtoBCAD(bm),yrng=c(0,0.01))## End(Not run)