Learn R Programming

BayLum (version 0.3.1)

SC_Ordered: Create stratigraphically ordered sample matrix

Description

Construct the stratigraphic matrix used in the functions AgeS_Computation and AgeC14_Computation for samples that are all ordered by increasing age.

Usage

SC_Ordered(Nb_sample)

Value

Stratigraphic matrix where each sample are ordered by increasing order. This matrix can be intergrated in the function AgeS_Computation. Please see AgeS_Computation for more information on this matrix.

Arguments

Nb_sample

integer (required): the number of samples

Author

Claire Christophe, Anne Philippe, Sebastian Kreutzer, Guillaume Guérin

How to cite

Christophe, C., Philippe, A., Kreutzer, S., Guérin, G., 2023. SC_Ordered(): Create stratigraphically ordered sample matrix. In: Christophe, C., Philippe, A., Kreutzer, S., Guérin, G., Baumgarten, F.H., 2023. BayLum: Chronological Bayesian Models Integrating Optically Stimulated. R package version 0.3.1. https://CRAN.r-project.org/package=BayLum

See Also

AgeS_Computation, SCMatrix

Examples

Run this code
# compute the stratigraphic matrix for 3 samples such that the first sample is younger
# than the second, and the second is younger than the third
SC <- SC_Ordered(Nb_sample = 3)

Run the code above in your browser using DataLab