clam2bacon: Translate clam .csv files to Bacon .csv files.

View source: R/read_write.R

clam2baconR Documentation

Translate clam .csv files to Bacon .csv files.

Description

Reads a clam .csv file containing the dates, and transforms it into a Bacon .csv file.

Usage

clam2bacon(
  core,
  clamdir = "clam_runs",
  bacondir = "Bacon_runs",
  sep = ",",
  cc = 1
)

Arguments

core

The name of the core for which a clam .csv.file needs to be translated into a Bacon .csv file

clamdir

The directory where the clam runs reside. Defaults to coredir="clam_runs".

bacondir

The directory where the Bacon runs reside. Defaults to coredir="Bacon_runs".

sep

The separator for the .csv files. Defaults to sep=",".

cc

Calibration curve for C-14 dates: cc=1 for IntCal20 (northern hemisphere terrestrial), cc=2 for Marine20 (marine),

Details

Please ensure that if the clam file has offset (d.R) estimates, that errors (d.STD) are provided manually, since these values cannot be determined automatically from the clam .csv file.

Value

A Bacon .csv file

Author(s)

Maarten Blaauw, J. Andres Christen


rbacon documentation built on Sept. 30, 2024, 9:40 a.m.