crossRings: dplR crossdating

crossRingsR Documentation

dplR crossdating

Description

This function implements routines to crossdate TRWs.

Usage

crossRings(mdr, smp = 1, 
    ncol = 1:length(mdr), 
    fun = "corr", ...)

Arguments

mdr

list. Set of detected TRWs such as that produced by multiDetect.

smp

numeric or character. Position or name in the set of the sample being crossdated.

ncol

numeric or character. Positions or names in the set of the TRWs used to crossdate the sample.

fun

character. Function to be implemented. Three functions can be used: corr.rwl.seg ('corr'), ccf.series.rwl ('ccf'), and spag.plot ('spag').

...

arguments to be passed to the function.

Value

output of selected function.

Author(s)

Wilson Lara <wilarhen@gmail.com> [aut, cre] (<https://orcid.org/0000-0003-3527-1380>), Carlos Sierra [aut] (<https://orcid.org/0000-0003-0009-4169>), Felipe Bravo [aut] (<https://orcid.org/0000-0001-7348-6695>)

Examples

## Paths to three image sections in the package:
img <- system.file(c("P105_a.tif",
                     "P105_b.tif",
                     "P105_d.tif"),
                   package="measuRing")

## Recursive detection:
mrings <- multiDetect(img,
                      last.yr = 2013,
                      auto.det = TRUE,
                      plot = FALSE)

## corr analysis
crossRings(mrings,
           fun = 'corr',
           seg.length = 10,
           bin.floor = 0,
           lag.max = 2,
           make.plot = FALSE)

measuRing documentation built on April 12, 2025, 1:58 a.m.