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

Description Usage Arguments Value

View source: R/parsing_functions.R

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

1
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 documentation built on July 6, 2021, 1:06 a.m.