analyst_to_BayFolders: analyst_to_BayFolders

Analyst_to_BayFoldersR Documentation

analyst_to_BayFolders

Description

Writes files necessary to use Generate_DataFile() function of the BayLum R-package.

Usage

Analyst_to_BayFolders(
  data,
  folder.name = "BayLum_files",
  inflatePercent = 0.025
)

Arguments

data

Data.frame containing information about each disc and grain to be used in BayLum. This function is optimized for use with the output of Analyst. Importantly, the data.frame must contain columns: "Labcode", "DoseEnv", "DoseEnv_error", "DoseSource", "DoseSource_error", "NbOfLastCycleToRemove", "Filename", "Disc#", "Grain#", "Sig1", "Sig2", "BG1", "BG2".

folder.name

Specify a name for a folder to be created in the current working directory which will contain the output of this function (defaults to "BayLum_files").

inflatePercent

Specify measurement uncertainty that should be incorporated (defaults to 0.025).

Value

Returns a list of vectors containing the required input for BayLum functions Generate_DataFile() and AgeS_Computation().


IMHarly/justapackage documentation built on March 25, 2024, 8:10 p.m.