Package: spDates 1.1

spDates: Analysis of Spatial Gradients in Radiocarbon Dates

Inspired by space-time regressions often performed to assess the expansion of the Neolithic from the Near East to Europe (Pinhasi et al. 2005 <doi:10.1371/journal.pbio.0030410>). Test for significant correlations between the (earliest) radiocarbon dates of archaeological sites and their respective distances from a hypothetical center of origin. Both ordinary least squares (OLS) and reduced major axis (RMA) methods are supported (Russell et al. 2014 <doi:10.1371/journal.pone.0087854>). It is also possible to iterate over many sites to identify the most likely origin.

Authors:Jonas Gregorio de Souza [aut, cre]

spDates_1.1.tar.gz
spDates_1.1.zip(r-4.5)spDates_1.1.zip(r-4.4)spDates_1.1.zip(r-4.3)
spDates_1.1.tgz(r-4.4-any)spDates_1.1.tgz(r-4.3-any)
spDates_1.1.tar.gz(r-4.5-noble)spDates_1.1.tar.gz(r-4.4-noble)
spDates_1.1.tgz(r-4.4-emscripten)spDates_1.1.tgz(r-4.3-emscripten)
spDates.pdf |spDates.html
spDates/json (API)

# Install 'spDates' in R:
install.packages('spDates', repos = c('https://jgregoriods.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jgregoriods/spdates/issues

Datasets:
  • centers - Coordinates of 9 sites considered as potential centers of origin of the Neolithic expansion. Modified from Pinhasi et al. (2005).
  • land - Land polygons.
  • neof - Radiocarbon dates and coordinates of 717 Neolithic sites in the Near East and Europe. Modified from Pinhasi et al. (2005). Only the earliest dates per site are included.

On CRAN:

radiocarbon-dates

2.70 score 1 stars 2 scripts 214 downloads 5 exports 82 dependencies

Last updated 2 years agofrom:7868ec49d2. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-winOKNov 13 2024
R-4.5-linuxOKNov 13 2024
R-4.4-winNOTENov 13 2024
R-4.4-macNOTENov 13 2024
R-4.3-winNOTENov 13 2024
R-4.3-macNOTENov 13 2024

Exports:filterDatesinterpolateIDWiterateSitesmodelDatessampleCalDates

Dependencies:abindclassclassIntclicodetoolscolorspacedata.tableDBIdeldirdoSNOWdplyre1071evaluatefansifarverFNNforeachgenericsggplot2gluegoftestgstatgtablehighrintervalsisobanditeratorsKernSmoothknitrlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpolyclipproxyR6rasterrcarbonRColorBrewerRcpprlangrparts2scalessfsftimesmatrsnowspspacetimespatstatspatstat.dataspatstat.explorespatstat.geomspatstat.linnetspatstat.modelspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstarstensorterratibbletidyselectunitsutf8vctrsviridisLitewithrwkxfunxtsyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Coordinates of 9 sites considered as potential centers of origin of the Neolithic expansion. Modified from Pinhasi et al. (2005).centers
Filter archaeological site coordinates and dates, retaining only the earliest radiocarbon date per site.filterDates
Interpolate using inverse distance weighting.interpolateIDW
Perform regression of dates versus distances from multiple potential origins in order to find the best model. It is also possible to specify multiple distances for the spatial binning of the dates.iterateSites
Land polygons.land
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. 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.modelDates
Radiocarbon dates and coordinates of 717 Neolithic sites in the Near East and Europe. Modified from Pinhasi et al. (2005). Only the earliest dates per site are included.neof
Plot a map with the results of the iteration over multiple sites, showing an interpolated surface of r values for the sites considered as potential origins.plot.dateMap
Plot the results of the regression bootstrap on archaeological dates versus distances from a hypothetical origin, with fitted lines.plot.dateModel
Extract a single year estimate for ranges of calibrated dates with a probability given by the calibrated probability distribution.sampleCalDates
Return summary statistics for a dateModel object.summary.dateModel