bacon2clam {rbacon}R Documentation

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 = ",")

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=",".

Details

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

Value

A clam .csv file

Author(s)

Maarten Blaauw, J. Andres Christen

Examples

{

 tmpfl <- tempfile()
  Bacon(run=FALSE, ask=FALSE, coredir=tmpfl)
  bacon2clam("MSB2K", bacondir=tmpfl, clamdir=tmpfl)
 
}

[Package rbacon version 3.2.0 Index]