oxcalSumSim: Sum calibration for simulated dates

Description Usage Arguments Details Value

View source: R/oxcalSumSim.R

Description

Sum calibration for simulated dates

Usage

1
2
3
4
5
6
7
oxcalSumSim(
  timeframe_begin,
  timeframe_end,
  n,
  stds,
  date_distribution = c("equidist", "uniform")
)

Arguments

timeframe_begin, timeframe_end

beginning and end of the time frame for which dates should be simulated

n

the number of dates that should be simulated

stds

either one standard deviation for all dates or a vector of standard deviations with length n

date_distribution

a character string indicating which method should be used to distribute the dates in the given time frame, can be abbreviated

Details

The dates can be distributed using one of the following methods: 'equidist' distributed the n dates within the time frame with equal distance, 'uniform' random samples n dates from the given time interval with uniform distribution

Value

A list containing the following components:

dates

the dates for the simulated sum calibration

probabilities

the probabilities for the simulated sum calibration

date_distribution

the distribution method used for the dates


oxcAAR documentation built on July 6, 2021, 1:06 a.m.