View source: R/write_agefile.R
write_agefile | R Documentation |
Passing in a download object the function outputs a Bacon or Clam formatted file to a user defined destination for age modelling with existing age-depth modeling software.
write_agefile(download, chronology = 1, path, corename, cal.prog = "Bacon")
download |
A single site returned by |
chronology |
Default is |
path |
The location of the 'Cores' folder & working directory for Bacon. Do not include "Cores" in the path name. |
corename |
The intended handle for the core, to be used in writing to file. |
cal.prog |
The method intended to build the age model, either |
This command returns a file in location path/Cores
containing all the relevant information required to build either the default or prior chronology for a core.
Simon J. Goring simon.j.goring@gmail.com
Neotoma Project Website: http://www.neotomadb.org API Reference: http://wnapi.neotomadb.org/doc/resources/contacts
## Not run: # Find a particular record: three_pines <- get_download(get_dataset(get_site("Three Pines Bog"), datasettype = "pollen")) # You will need to edit the `path` argument here to point to a directory that # contains a `Cores` directory. write_agefile(download = three_pines[[1]], path = "./inst", corename = "THREEPINES", cal.prog = "Bacon") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.