bacon2clam | R Documentation |
Reads a Bacon .csv file containing the dates, and transforms it into a clam .csv file.
bacon2clam(core, bacondir = "Bacon_runs", clamdir = "clam_runs", sep = ",")
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 |
clamdir |
The directory where the clam runs reside. Defaults to |
sep |
The separator for the .csv files. Defaults to |
Assumes that Bacon .csv files with 4 columns indicate 14C dates. Please make sure this is correct.
A clam .csv file
Maarten Blaauw, J. Andres Christen
{
tmpfl <- tempfile()
Bacon(run=FALSE, ask=FALSE, coredir=tmpfl)
bacon2clam("MSB2K", bacondir=tmpfl, clamdir=tmpfl)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.