deriveBDate: Derive burial dates from deposition dates in simulated...

View source: R/deriveDatetag.R

deriveBDateR Documentation

Derive burial dates from deposition dates in simulated profiles

Description

This routine derives burial dates (bdate) from deposition dates (ddate). Optionally, burial dates can be adjusted to align more closely with human interpretation (see Details in guessDatetagsSimple).

Usage

deriveBDate(x, adjust_bdates = TRUE, ...)

## S3 method for class 'snowprofileSet'
deriveBDate(x, adjust_bdates = TRUE, ...)

## S3 method for class 'snowprofile'
deriveBDate(x, adjust_bdates = TRUE, checkMonotonicity = FALSE, ...)

## S3 method for class 'snowprofileLayers'
deriveBDate(x, adjust_bdates = TRUE, checkMonotonicity = TRUE, ...)

Arguments

x

a snowprofileSet, snowprofile or snowprofileLayers object

adjust_bdates

boolean switch to compute bdates similar to human interpretation.

...

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.

Value

The input object will be returned with the column bdate added to the profile layers

Methods (by class)

  • deriveBDate(snowprofileSet): for snowprofileSets

  • deriveBDate(snowprofile): for snowprofiles

  • deriveBDate(snowprofileLayers): for snowprofileLayers

Author(s)

fherla


sarp.snowprofile documentation built on Jan. 14, 2026, 9:06 a.m.