Given 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)

Arguments

object

A collection unit object

x

A chronology object generated using set_chronology()

y

A data.frame of sample ages, with required columns: "analysisunitid", "age", "agetype", "ageolder", and "ageyounger".

Value

chronologies with new added chronology

Details

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.

Author

Socorro Dominguez dominguezvid@wisc.edu