bacon_qc: Bacon quality control

View source: R/ageR.R

bacon_qcR Documentation

Bacon quality control

Description

Bacon quality control

Usage

bacon_qc(
  wdir,
  entity,
  core = NULL,
  coredir = NULL,
  acc.mean = 20,
  acc.shape = 1.5,
  thick = 5,
  hiatuses = NULL
)

Arguments

wdir

Path where input files are stored.

entity

Name of the entity.

core

Data frame with the core's data.

coredir

Folder where the core's files core are and/or will be located.

acc.mean

The accumulation rate prior consists of a gamma distribution with two parameters. Its mean is set by acc.mean (default acc.mean=20 yr/cm (or whatever age or depth units are chosen), which can be changed to, e.g., 5, 10 or 50 for different kinds of deposits). Multiple values can be given in case of hiatuses or boundaries, e.g., Bacon(hiatus.depths=23, acc.mean=c(5,20)).

acc.shape

The prior for the accumulation rate consists of a gamma distribution with two parameters. Its shape is set by acc.shape (default acc.shape=1.5; higher values result in more peaked shapes).

thick

Bacon will divide the core into sections of equal thickness specified by thick (default thick = 5).

hiatuses

Data frame containing information of hiatuses.

Value

List with plots and numerical quality values.


special-uor/ageR documentation built on July 10, 2024, 10:08 p.m.