SCMatrix: Construct the Stratigraphic Constrain Matrix Interactively

View source: R/SCMatrix.R

SCMatrixR Documentation

Construct the Stratigraphic Constrain Matrix Interactively

Description

This function helps to define the stratigraphic relation between samples using questions. The output of this function can be used in the function AgeS_Computation.

Usage

SCMatrix(DATA = NULL, Nb_sample, SampleNames)

Arguments

DATA

BayLum.list (with default): Object of class BayLum.list, if provided the other parameters are not any longer mandatory.

Nb_sample

integer (required): the sample number, if DATA is provided, the input is not required

SampleNames

character (required): sample names, if DATA is provided, the input is not required

Details

The function will ask if sample i is younger than sample j to construct the stratigraphic constrain matrix.

Value

Returns a matrix that summarise the ordered relation between samples. This matrix can be integrate in AgeS_Computation function. We refer to detail on AgeS_Computation for more information concerning this matrix.

Author(s)

Claire Christophe, Anne Philippe, Guillaume Guérin, Sebastian Kreutzer , RLum Developer Team

See Also

AgeS_Computation

Examples

## Not run: 
SCMatrix(
 Nb_sample = 2,
 SampleNames = c("sample1","sample2"))

## End(Not run)


BayLum documentation built on June 22, 2024, 10:18 a.m.