Description Usage Arguments Value Examples
Takes the name of a file that is formatted according to the standard format and converts it to an object to be used later in the model. In doing so, the function also reads the user-provided yearmarkers in the file and uses them as a basis for the length of windows used throughout the model. This ensures that windows are not too short and by default contain at least one year of growth for modeling.
1 | data_import(file_name)
|
file_name |
Name of the file that contains sampling distance and d18O data. Note that sampling distance should be given in micrometers, because the SCEUA model underperforms when the growth rate figures are very small (<0.1 mm/day). |
A list containing an object with the original data and details on the position and length of modeling windows
1 2 3 4 5 6 7 8 | importlist <- data_import(file_name = system.file("extdata",
"Virtual_shell.csv", package = "ShellChron")) # Run function on attached
# dummy data
# Bad data file lacking YEARMARKER column
## Not run: importlist <- data_import(file_name = system.file("extdata",
"Bad_data.csv", package = "ShellChron"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.