ageranges | R Documentation |
Calculates an age summary (min/max probability range, median and mean) of a depth or a series of depths. The depths are returned and can be saved to a file.
ageranges(
d = c(),
file = c(),
sep = "\t",
set = get("info"),
BCAD = set$BCAD,
na.rm = FALSE,
prob = 0.95,
d.by = 1,
roundby = 1,
show.progress = TRUE
)
d |
Depth or depths for which age summaries are to be calculated. If left empty, a sequence of depths is calculated from the top to the bottom of the core, see 'd.by'. |
file |
The name of the file where the age summary has to be stored. If empty (default), the ages are returned. |
sep |
Separator for the fields, if saving to a file (defaults to a tab, "\t"). |
set |
Detailed information of the current run, stored within this session's memory as variable |
BCAD |
The calendar scale of graphs and age output-files is in cal BP (calendar or calibrated years before the present, where the present is AD 1950) by default, but can be changed to BC/AD using |
na.rm |
Whether or not NAs are to be removed. Defaults to |
prob |
Probability range. Half of the range is taken away from both sides of the distribution (e.g., 2.5% for the default of |
d.by |
Steps for calculation of depths, if 'd' is left empty. Defaults to steps of 1. |
roundby |
Rounding for the age estimates. Defaults to 1 decimal. |
show.progress |
Show a progress bar. Defaults to TRUE. |
The minimum and maximum of the probability range (default 2.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.