R_Simulate {oxcAAR}R 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


[Package oxcAAR version 1.1.1 Index]