Given a collunit, add a new chronology object to the unit
with both the chronology metadata and the age information (as y
)
# S4 method for collunit,chronology,data.frame
add_chronology(object, x, y)
chronologies
with new added chronology
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"
.
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 Complex Workflows documentation online.