Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

R_Simulate

Returns the Oxcal code for the simulation of 14C dates


Description

R_Simulate takes names, calendar dates and standard deviation for those dates as vectors, and returns a bit of oxcal code that can be used to feed it into oxcal. For details concerning the Oxcal simulation please consult the help page of Oxcal.

Usage

R_Simulate(c_dates, stds, names = 1:length(c_dates))

Arguments

c_dates

a vector containing the calendar dates that should be simulated

stds

a vector containing the standard deviation that should be simulated

names

a vector of names for the resulting simulated dates

Value

a string containing the respective Oxcal code


oxcAAR

Interface to 'OxCal' Radiocarbon Calibration

v1.1.0
GPL-2 | file LICENSE
Authors
Hinz Martin [aut, cre], Clemens Schmid [aut], Daniel Knitter [aut], Carolin Tietze [aut]
Initial release
2021-02-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.