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

5 exports 1 stars 0.74 score 82 dependencies 2 scripts 253 downloads

Last updated 2 years agofrom:7868ec49d2. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-winNOTESep 14 2024
R-4.5-linuxNOTESep 14 2024
R-4.4-winNOTESep 14 2024
R-4.4-macNOTESep 14 2024
R-4.3-winNOTESep 14 2024
R-4.3-macNOTESep 14 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