Learn R Programming

neotoma (version 1.3.0)

write_agefile: Write age control file to disk formatted for either Bacon or Clam

Description

Passing in a download object the function outputs a Bacon or Clam formatted file to a user defined destination for age modelling with existing age-depth modeling software.

Usage

write_agefile(download, chronology = 1, path, corename, cal.prog = "Bacon")

Arguments

download
A single site returned by get_download.
chronology
Default is 1, the default chronology for the core. If a core has more than one chronology the user can define a different set of chronological controls.
path
The location of the 'Cores' folder & working directory for Bacon. Do not include "Cores" in the path name.
corename
The intended handle for the core, to be used in writing to file.
cal.prog
The method intended to build the age model, either 'Bacon' or 'Clam'.

Value

  • This command returns a file in location path/Cores containing all the relevant information required to build either the default or prior chronology for a core.

References

Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts

Examples

Run this code
#  The point of pulling chronology tables is to re-build or examine the chronological
#  information that was used to build the age-depth model for the core.

Run the code above in your browser using DataLab