Description Usage Arguments Value Examples

Perform regression of archaeological dates on great circle distances from a hypothetical origin. Dates can be filtered to retain only the earliest dates per distance bins (Hamilton and Buchanan 2007). Bootstrap is executed to account for uncertainty in calibrated dates. If a cost surface is provided, distances are calculated using least cost paths instead of great circle distances. Regression can be either reduced major axis or ordinary least squares. If using ordinary least squares, regression is performed both on time-versus-distance and on distance-versus-time.

1 2 3 4 5 6 7 8 9 10 | ```
modelDates(
ftrSites,
c14bp,
origin,
binWidth = 0,
nsim = 999,
cost = NULL,
method = "rma",
ncores = 1
)
``` |

`ftrSites` |
A SpatialPointsDataFrame object with associated earliest C14 dates per site and respective calibrated distributions (CalDates objects) in a field named "cal". Result of applying filterDates() and calAll(). |

`c14bp` |
A string. Name of the field with the radiocarbon ages in C14 BP format. |

`origin` |
A SpatialPointsDataFrame object. The site considered as hypothetical origin of expansion. |

`binWidth` |
A number. Width of the spatial bins in km, calculated as distance intervals from the hypothetical origin. Default is 0 (no bins). |

`nsim` |
A number. Number of simulations to be run during the bootstrapping procedure. Default is 999. |

`cost` |
Optional. A RasterLayer with friction values to calculate least cost path distances instead of great circle distances. |

`method` |
A string. Method to be used in the regression. One of "rma" or "ols". Default is "rma". |

`ncores` |
A number. Number of cores used for parallel processing. Default is 1. |

a dateModel object.

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.