R_Simulate: Returns the Oxcal code for the simulation of 14C dates

View source: R/parsing_functions.R

R_SimulateR Documentation

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


ISAAKiel/oxcAAR documentation built on Sept. 25, 2022, 5:07 a.m.