Chapter 4 Spherical Geometries
Learning objectives:
- Consider geometries on a sphere
library("dplyr")
library("ggplot2")
library("maps")
library("rnaturalearth")
library("rnaturalearthdata")
library("s2")
library("sf")
sessionInfo()
## R version 4.3.3 (2024-02-29)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 22.04.4 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
##
## locale:
## [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
## [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
## [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
## [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
##
## time zone: UTC
## tzcode source: system (glibc)
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] s2_1.1.6 rnaturalearthdata_1.0.0 rnaturalearth_1.0.1
## [4] maps_3.4.2 ggplot2_3.5.0 dplyr_1.1.4
## [7] sf_1.0-16
##
## loaded via a namespace (and not attached):
## [1] sass_0.4.9 utf8_1.2.4 generics_0.1.3 class_7.3-22
## [5] KernSmooth_2.23-22 digest_0.6.35 magrittr_2.0.3 evaluate_0.23
## [9] grid_4.3.3 bookdown_0.38 fastmap_1.1.1 jsonlite_1.8.8
## [13] e1071_1.7-14 DBI_1.2.2 httr_1.4.7 fansi_1.0.6
## [17] scales_1.3.0 codetools_0.2-19 jquerylib_0.1.4 cli_3.6.2
## [21] rlang_1.1.3 units_0.8-5 munsell_0.5.1 withr_3.0.0
## [25] cachem_1.0.8 yaml_2.3.8 tools_4.3.3 colorspace_2.1-0
## [29] vctrs_0.6.5 R6_2.5.1 proxy_0.4-27 lifecycle_1.0.4
## [33] classInt_0.4-10 pkgconfig_2.0.3 terra_1.7-71 pillar_1.9.0
## [37] bslib_0.7.0 gtable_0.3.4 glue_1.7.0 Rcpp_1.0.12
## [41] xfun_0.43 tibble_3.2.1 tidyselect_1.2.1 highr_0.10
## [45] rstudioapi_0.16.0 knitr_1.45 htmltools_0.5.8.1 rmarkdown_2.26
## [49] wk_0.9.1 compiler_4.3.3