Skip to content

josephlewis/Incorporating-Uncertainty-in-Least-Cost-Path-Modelling

Repository files navigation

Published in Journal of Archaeological Method and Theory

To cite:

Lewis, J. (2021). Probabilistic Modelling for Incorporating Uncertainty in Least Cost Path Results: a Postdictive Roman Road Case Study. Journal of Archaeological Method and Theory. https://doi.org/10.1007/s10816-021-09522-w

Preprint available: https://doi.org/10.31235/osf.io/mxas2

Data and Code also available on Zenodo:

DOI

Probabilistic Modelling using Monte Carlo Simulation for Incorporating Uncertainty in Least Cost Path Results: a Postdictive Roman Road Case Study

This repository contains all the data and scripts required to fully reproduce all analyses presented in the paper "Probabilistic Modelling using Monte Carlo Simulation for Incorporating Uncertainty in Least Cost Path Results: a Roman Road Case Study" authored by Lewis, J.

Getting Started

  1. Open project using Incorporating-Uncertainty-in-Least-Cost-Path-Modelling.Rproj to ensure relative paths work.
  2. Run the main.R R script in the R folder to reproduce the analysis.

Session Info

R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] tmap_3.2            DMMF_0.5.1.2        gstat_2.0-6         leastcostpath_1.7.9 rgeos_0.5-5         rgdal_1.5-19        raster_3.4-5        sp_1.4-4           

loaded via a namespace (and not attached):
 [1] zoo_1.8-8          tidyselect_1.1.0   gdistance_1.3-6    purrr_0.3.4        pbapply_1.4-3      sf_0.9-6           lattice_0.20-41    vctrs_0.3.4       
 [9] generics_0.0.2     htmltools_0.5.0    stars_0.4-3        viridisLite_0.3.0  base64enc_0.1-3    spacetime_1.2-4    XML_3.99-0.5       rlang_0.4.8       
[17] e1071_1.7-4        pillar_1.4.6       glue_1.4.2         DBI_1.1.0          RColorBrewer_1.1-2 lifecycle_0.2.0    htmlwidgets_1.5.2  leafsync_0.1.0    
[25] codetools_0.2-16   crosstalk_1.1.0.1  parallel_4.0.3     class_7.3-17       leafem_0.1.3       xts_0.12.1         Rcpp_1.0.5         KernSmooth_2.23-17
[33] classInt_0.4-3     lwgeom_0.2-5       leaflet_2.0.3      abind_1.4-5        FNN_1.1.3          png_0.1-7          digest_0.6.27      dplyr_1.0.2       
[41] tmaptools_3.1      grid_4.0.3         tools_4.0.3        magrittr_2.0.1     tibble_3.0.4       dichromat_2.0-0    crayon_1.3.4       pkgconfig_2.0.3   
[49] ellipsis_0.3.1     Matrix_1.2-18      rstudioapi_0.11    R6_2.5.0           units_0.6-7        intervals_0.15.2   igraph_1.2.6       compiler_4.0.3 

License

CC-BY 3.0 unless otherwise stated (see Licenses.md)