View source: R/deriveDatetag.R
| guessDatetagsSimple | R Documentation |
This routine provides a simple heuristic for assigning datetags to layers.
Datetags usually are deposition dates for crust layers, and burial dates for
other weak layers (e.g., SH, FC). If no datetags can be derived, a datetag
column of NAs will be added. Burial dates (bdate) are computed via
deriveBDate.
guessDatetagsSimple(x, adjust_bdates = TRUE, ...)
## S3 method for class 'snowprofileSet'
guessDatetagsSimple(x, adjust_bdates = TRUE, ...)
## S3 method for class 'snowprofile'
guessDatetagsSimple(x, adjust_bdates = TRUE, checkMonotonicity = FALSE, ...)
## S3 method for class 'snowprofileLayers'
guessDatetagsSimple(x, adjust_bdates = TRUE, checkMonotonicity = TRUE, ...)
x |
a snowprofileSet, snowprofile or snowprofileLayers object |
adjust_bdates |
boolean switch to compute bdates similar to human interpretation. see Details. |
... |
passed on to subsequent methods |
checkMonotonicity |
check ascending order of layers. This acts as a check for whether multiple layers objects are stacked, which is not allowed. |
The input object will be returned with the columns datetag and bdate added to the profile layers
guessDatetagsSimple(snowprofileSet): for snowprofileSets
guessDatetagsSimple(snowprofile): for snowprofiles
guessDatetagsSimple(snowprofileLayers): for snowprofileLayers
fherla
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.