combine: Combine multiple CalDates Class Objects into one.

Description Usage Arguments Value See Also Examples

View source: R/utilities.R

Description

Combine multiple CalDates Class Objects into one.

Usage

1
combine(..., fixIDs = FALSE)

Arguments

...

CalDates class objects to be concatenated.

fixIDs

logical. If set to TRUE, each date is given a new ID based on sequential integer. Default is FALSE

Value

An object of class CalDates

See Also

calibrate

Examples

1
2
3
4
5
6
7
8
 
x1 = calibrate(c(2000,3400),c(20,20),ids=1:2)
x2 = calibrate(c(4000,3000),c(30,30),calCurves=c('intcal20','marine20'),
resOffsets=c(0,30),resErrors=c(0,20),ids=3:4)
mcurve <- mixCurves('intcal20','marine20',p=0.7,resOffsets=300,resErrors=20)
x3 = calibrate(5300,20,calCurves=mcurve,ids=5)
x = combine(x1,x2,x3)
## x$metadata

rcarbon documentation built on Jan. 13, 2021, 7:09 p.m.