writeBacon | R Documentation |
This generates the csv file that is used for input to Bacon. Will be run in interactive mode if necessary parameters aren't specified. Most users will want to use runBacon for their bacon needs.
writeBacon(
L,
bacon.dir = NA,
chron.num = 1,
remove.rejected = TRUE,
overwrite = TRUE,
cc = NA,
site.name = L$dataSetName,
model.num = NA,
use.marine = NULL,
ask.reservoir = TRUE,
...
)
L |
a LiPD object |
bacon.dir |
the directory where Bacon is installed on this computer. |
chron.num |
the number of the chronData object that you'll be working in |
remove.rejected |
don't write out dates that are marked as rejected |
overwrite |
overwrite files and directories |
cc |
An integer, or vector of integers corresponding to age that describes the calibration curve. You can specify here (see below) or if it's NA the code will guess based on archiveType
|
site.name |
the name used for the bacon model (and directories) |
model.num |
chron.numModel do you want to use? |
use.marine |
use the marine 13C curve? (yes or no, or NULL to choose) |
ask.reservoir |
ask about reservoir corrections |
... |
Arguments passed on to
|
L the input LiPD file with methods added to the chronModel.
Nick McKay
Other Bacon:
getBaconDir()
,
loadBaconOutput()
,
runBacon()
,
sampleBaconAges()
,
setBaconDir()
## Not run:
writeBacon(L)
#Run in interactive mode
writeBacon(L,chron.num=1,meas.table.num = 1,bacon.dir="~/Bacon/",remove.rejected=TRUE,overwrite=TRUE,cc=NA,site.name=L$dataSetName,model.num=NA)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.