rbacon (version 3.2.0)

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

Description

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

Usage

bacon2clam(core, bacondir = "Bacon_runs", clamdir = "clam_runs", sep = ",")

Value

A clam .csv file

Arguments

core

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

bacondir

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

clamdir

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

sep

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

Author

Maarten Blaauw, J. Andres Christen

Details

Assumes that Bacon .csv files with 4 columns indicate 14C dates. Please make sure this is correct.

Examples

Run this code
{
# \donttest{
 tmpfl <- tempfile()
  Bacon(run=FALSE, ask=FALSE, coredir=tmpfl)
  bacon2clam("MSB2K", bacondir=tmpfl, clamdir=tmpfl)
 # }
}

Run the code above in your browser using DataLab