new_date_end: new_date_end

Description Usage Arguments Value Examples

View source: R/dating.R

Description

Batch adjust the date end of multiple series.

Usage

1
new_date_end(rwl, date.end)

Arguments

rwl

a data.frame/rwl object.

date.end

a data.frame with series names in the first, and date end in the second column.

Value

a data.frame/rwl object

Examples

1
2
3
4
5
library("dplR")
data("gp.rwl")
de <- dplR::rwl.stats(gp.rwl)[ , c(1,3)] #construct a data frame of current date ends
de[1:4, 2] <- 1600 #changing the date end of the first 4 series to 1600
seg.plot(new_date_end(gp.rwl, de))

konradmayer/trlboku documentation built on July 3, 2020, 9:49 p.m.