Note: This package version needs at least R >= 3.5.0.
AgeS_Computation()
THETA
to prevent a ‘JAGS’ runtime errorjags_method
to support full automated processing in parallel using the R package 'runjags'
; including a ...
argument for a more detailed control. By default the calculation is done simply via 'rjags'
as usualAge_OSLC14()
gaussian
distribution did not work due to a wrongly set index (#13); fixed.Generate_DataFile_MG()
plot_Ages()
sample_order
was added.data.frame
is similar the data frames created by the computation functions (e.g., AgeS_Computation()
). This option enables the manual creation of age plots from self-compiled data.plot_MCMC()
AgeS_Computation()
for an automated treatmentwarning
instead of a stop
. This is less aggressive and it makes the function easier to use by users who only use the plot functionality of 'BayLum'
plot_Scatterplots()
sample_names
sample_selection
was shorter than the number of names provided by sample_names
the function returned an subscript out of bounds
error; fixed (reported by Maryam Heydari)BayLum.list
objects using a central internal function"IntCal13"
,"IntCal20"
,"Marine13"
,"Marine20"
, "SHCal13"
, "SHCal20"
or an own dataset which must be stored in a CSV-file.create_ThetaMatrix()
this function is a helper to create the theta matrix that can be provided as input for the functions AgeS_Computation()
and Age_OSLC14()
create_FolderTemplates()
creates the folder and file structures required by Generate_DataFile()
and Generate_DataFile_MG()
on the user’s hard driveplot_Ages()
this function replaces code used internally by the functions AgeC14_Compution()
and AgeS_Computation()
to create an age overview plot. Before the user had no control over the appearance of age plot output. This is still the case if the functions AgeC14_Compution()
, AgeS_Computation()
and Age_OSLC14()
are used (although internally only the function plot_Ages()
is called), however, both functions now return a new list of class BayLum.list
which is recognised by the function plot_Ages()
and can be used to plot the typical age plot while providing several arguments for adjusting the plot output.combine_DataFiles()
did not work on R < 3.5.0, which caused an error on CRAN; fixed.ScatterSamples()
is replaced by the function plot_Scatterplots()
AgeC14_Compution()
and AgeS_Computation()
gain a new class BayLum.list
AgeC14_Compution()
and AgeS_Computation()
has been removedNb_chaines
was replaced by n.chains
wherever it occurred in the package (functions and documentation)plot_Scatterplots()
gained a new argument plot_type
, allowing to switch between the default hexbin plot and a function developed for ’BayLum(
plot_type = “smoothScatter”`)plot_Scatterplots()
gained a new argument plot_mode
to allow single xy plotsplot_Scatterplots()
now accepts a two column data.frame
as inputbuildKernSmooth
used in plot_Scatterplots()
MCMC_plot()
was replaced by the newly written function plot_MCMC()
Concat_DataFile()
is deprecated and is basically replaced by the function combine_DataFiles()
AgeC14_Compution()
and Age_OSL14()
now returns age results with two digitsAgeS_Computation()
now returns the MCMC information from all samples of the PDF output is set to TRUE
Age_OSLC14()
never returned numerical data; fixedAge_OSLC14()
age format, now in ka for C-14 instead of yearsAgeS_Computation()
could not be run; fixedGenerate_DataFile()
and Generate_DataFile_MG()
do no longer expecting the name sheme bin.BINGenerate_DataFile()
and Generate_DataFile_MG()
now supports the ...
argument to pass further arguments to the function Luminescene::read_BIN2R()
Generate_DataFile()
and Generate_DataFile_MG()
gained a new argument verbose
to control the terminal outputAge_Computation()
,AgeS_Computation()
,AgeC14_Computation()
, Age_OSLC14()
now support the argument quiet
and pipe it to rjags
to suppress the terminal outputAgeC14_Computation()
now returns a warning if outliers are detected.LT_RegenDose()
gained two new arguments nrow
and ncol
became a little bit more user friendly