AGDS 2: Digital Soil Mapping

Predicting soil properties from spatial data


Pascal Schneider

Madlene Nussbaum


June 29, 2023


This online book covers the tutorial on digital soil mapping from the course Applied Geodata Science 2 at the University of Bern. Code and data was provided by Madlene Nussbaum and the conversion into an online tutorial was done by Pascal Schneider.

System Setup

If you want to replicate the code of this tutorial, we suggest to either load the latest renv.lock file from this tutorial’s repository and load it using the {renv} package. Alternatively, the output below could be used to traceback and install the exact package versions that were used in this tutorial.

R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.4.1

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/Zurich
tzcode source: internal

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

loaded via a namespace (and not attached):
 [1] htmlwidgets_1.6.2 compiler_4.3.1    fastmap_1.1.1     cli_3.6.1        
 [5] tools_4.3.1       htmltools_0.5.5   rstudioapi_0.15.0 rmarkdown_2.23   
 [9] knitr_1.43        jsonlite_1.8.7    xfun_0.39         digest_0.6.33    
[13] rlang_1.1.1       evaluate_0.21