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 = ",")
The name of the core for which a Bacon .csv.file needs to be translated into a clam .csv file
The directory where the Bacon runs reside. Defaults to coredir="Bacon_runs"
.
The directory where the clam runs reside. Defaults to coredir="clam_runs"
.
The separator for the .csv files. Defaults to sep=","
.
A clam .csv file
Assumes that Bacon .csv files with 4 columns indicate 14C dates. Please make sure this is correct.
# NOT RUN {
{
# }
# NOT RUN {
tmpfl <- tempfile()
Bacon(run=FALSE, ask=FALSE, coredir=tmpfl)
bacon2clam("MSB2K", bacondir=tmpfl, clamdir=tmpfl)
# }
# NOT RUN {
}
# }
Run the code above in your browser using DataLab