R/02_genericDefinitions.R, R/collunits-methods.R
add_chronology.RdGiven a collunit, add a new chronology object to the unit
with both the chronology metadata and the age information (as y)
add_chronology(object, x, y)
# S4 method for class 'collunit,chronology,data.frame'
add_chronology(object, x, y)A collection unit object
A chronology object generated using set_chronology()
A data.frame of sample ages, with required columns:
"analysisunitid", "age", "agetype", "ageolder", and "ageyounger".
chronologies with new added chronology
When undertaking analysis we may wish to add a new chronology to existing records within Neotoma. To do this we must first build the chronology, but also link it to existing analysis units within the collection unit. For examples from this function, see the https://open.neotomadb.org/EPD_binder/complex_workflow.html documentation online.