add_chronology-collunit-chronology-data.frame-method: Add a new chronology into an existing collectionunit.

add_chronology,collunit,chronology,data.frame-methodR Documentation

Add a new chronology into an existing collectionunit.

Description

Given a collunit, add a new chronology object to the unit with both the chronology metadata and the age information (as y)

Usage

## S4 method for signature '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".

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 Complex Workflows documentation online.

Value

chronologies with new added chronology


neotoma2 documentation built on July 9, 2023, 7:37 p.m.