- distA
Distribution A. Expects two columns: values and their probabilities (e.g., caldist(130,10, cc=1)).
- distB
Distribution B. Expects two columns: values and their probabilities (e.g., caldist(130,10, cc=1)).
- n
The number of random points to be sampled (proportionally to the density of distribution A).
- k
The number of points to be sampled for each iteration n from distribution B. After this, the range of these samples values is calculated to obtain a width of distribution B within which the sampled values of distribution could fall (the more, the higher the coverage).
- nameA
The name of distribution A (for the plot's legend).
- nameB
The name of distribution B (for the plot's legend).
- decimals
Number of decimals to report - rounding is to 4 decimals by default.
- seed
For reproducibility, a seed can be set (e.g., seed=123
). Defaults to NA, no seed set.
- visualise
Whether or not to plot the distributions. Defaults to TRUE.
- xlab
Label of the horizontal axis. Defaults to xlab="cal BP"
.