Skip to content

Commit 6473a48

Browse files
committed
Deploy commit: use latest mlr3 package for 15-tune.rds, adjust prediction code and mention mlr3spatial b0cba2b
1 parent 2791871 commit 6473a48

92 files changed

Lines changed: 876 additions & 859 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

05-geometry-operations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,8 @@ Performing an algebraic operation on two objects with differing extents in R, th
674674

675675
``` r
676676
elev_3 = elev + elev_2
677-
#> Error: [+] extents do not match
677+
#> Error:
678+
#> ! [+] extents do not match
678679
```
679680

680681
However, we can align the extent of two rasters with `extend()`.

09-mapping.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ Switch **tmap** back to plotting mode with the same function:
796796

797797
``` r
798798
tmap_mode("plot")
799-
#> ℹ tmap mode set to "plot".
799+
#> ℹ tmap modes "plot" - "view"
800+
#> ℹ toggle with `tmap::ttm()`
800801
```
801802

802803
If you are not proficient with **tmap**, the quickest way to create interactive maps in R may be with **mapview**\index{mapview (package)}.

13-transport.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ routes_short_scenario = routes_short |>
570570
mutate(bicycle = bicycle + car_driver * uptake,
571571
car_driver = car_driver * (1 - uptake))
572572
sum(routes_short_scenario$bicycle) - sum(routes_short$bicycle)
573-
#> [1] 3242
573+
#> [1] 3241
574574
```
575575

576576
Having created a scenario in which approximately 4000 trips have switched from driving to cycling, we can now model where this updated modeled cycling activity will take place.
@@ -643,13 +643,6 @@ ways_centrality = ways_sfn |>
643643
mutate(betweenness = tidygraph::centrality_edge_betweenness(lengths))
644644
```
645645

646-
647-
```
648-
#> [plot mode] legend/component: Some components or legends are too "wide" and are
649-
#> therefore rescaled.
650-
#> ℹ Set the tmap option `component.autoscale = FALSE` to disable rescaling.
651-
```
652-
653646
<div class="figure" style="text-align: center">
654647
<img src="figures/wayssln-1.png" alt="Route network datasets. The gray lines represent a simplified road network, with segment thickness proportional to betweenness. The green lines represent potential cycling flows (one way) calculated with the code above." width="100%" />
655648
<p class="caption">(\#fig:wayssln)Route network datasets. The gray lines represent a simplified road network, with segment thickness proportional to betweenness. The green lines represent potential cycling flows (one way) calculated with the code above.</p>

15-eco.md

Lines changed: 85 additions & 78 deletions
Large diffs are not rendered by default.

404.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

adv-map.html

Lines changed: 59 additions & 58 deletions
Large diffs are not rendered by default.

algorithms.html

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

attr.html

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

conclusion.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Chapter 16 Conclusion | Geocomputation with R</title>
88
<meta name="author" content="Robin Lovelace, Jakub Nowosad, Jannes Muenchow">
99
<meta name="description" content="16.1 Introduction Like the introduction, this concluding chapter contains a few code chunks. The aim is to synthesize the contents of the book, with reference to recurring themes/concepts, and to...">
10-
<meta name="generator" content="bookdown 0.43 with bs4_book()">
10+
<meta name="generator" content="bookdown 0.45 with bs4_book()">
1111
<meta property="og:title" content="Chapter 16 Conclusion | Geocomputation with R">
1212
<meta property="og:type" content="book">
1313
<meta property="og:url" content="https://r.geocompx.org/conclusion.html">
@@ -33,7 +33,7 @@
3333
<script src="libs/htmlwidgets-1.6.4/htmlwidgets.js"></script><link href="libs/leaflet-1.3.1/leaflet.css" rel="stylesheet">
3434
<script src="libs/leaflet-1.3.1/leaflet.js"></script><link href="libs/leafletfix-1.0.0/leafletfix.css" rel="stylesheet">
3535
<script src="libs/proj4-2.6.2/proj4.min.js"></script><script src="libs/Proj4Leaflet-1.0.1/proj4leaflet.js"></script><link href="libs/rstudio_leaflet-1.3.1/rstudio_leaflet.css" rel="stylesheet">
36-
<script src="libs/leaflet-binding-2.2.2/leaflet.js"></script><script src="libs/kePrint-0.0.1/kePrint.js"></script><link href="libs/lightable-0.0.1/lightable.css" rel="stylesheet">
36+
<script src="libs/leaflet-binding-2.2.3/leaflet.js"></script><script src="libs/kePrint-0.0.1/kePrint.js"></script><link href="libs/lightable-0.0.1/lightable.css" rel="stylesheet">
3737
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
3838
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
3939
<script>
@@ -196,11 +196,11 @@ <h2>
196196
Some topics and themes appear repeatedly, with the aim of building essential skills for geocomputation, and showing you how to go further, into more advanced topics and specific applications.</p>
197197
<p>We deliberately omitted some topics that are covered in-depth elsewhere.
198198
Statistical modeling of spatial data such as point pattern analysis, spatial interpolation (e.g., kriging) and spatial regression, for example, are mentioned in the context of machine learning in Chapter <a href="spatial-cv.html#spatial-cv">12</a> but not covered in detail.
199-
There are already excellent resources on these methods, including statistically orientated chapters in <span class="citation">Pebesma and Bivand (<a href="references.html#ref-pebesma_spatial_2023">2023b</a>)</span> and books on point pattern analysis <span class="citation">(<a href="references.html#ref-baddeley_spatial_2015">Baddeley, Rubak, and Turner 2015</a>)</span>, Bayesian techniques applied to spatial data <span class="citation">(<a href="references.html#ref-gomez-rubio_bayesian_2020">Gómez-Rubio 2020</a>; <a href="references.html#ref-moraga_spatial_2023">Moraga 2023</a>)</span>, and books focused on particular applications such as health <span class="citation">(<a href="references.html#ref-moraga_geospatial_2019">Moraga 2019</a>)</span> and <a href="https://bookdown.org/mcwimberly/gdswr-book/application---wildfire-severity-analysis.html">wildfire severity analysis</a> <span class="citation">(<a href="references.html#ref-wimberly_geographic_2023">Wimberly 2023</a>)</span>.
199+
There are already excellent resources on these methods, including statistically orientated chapters in <span class="citation">Pebesma and Bivand (<a href="references.html#ref-pebesma_spatial_2023">2023b</a>)</span> and books on point pattern analysis <span class="citation">(<a href="references.html#ref-baddeley_spatial_2015">Baddeley et al. 2015</a>)</span>, Bayesian techniques applied to spatial data <span class="citation">(<a href="references.html#ref-gomez-rubio_bayesian_2020">Gómez-Rubio 2020</a>; <a href="references.html#ref-moraga_spatial_2023">Moraga 2023</a>)</span>, and books focused on particular applications such as health <span class="citation">(<a href="references.html#ref-moraga_geospatial_2019">Moraga 2019</a>)</span> and <a href="https://bookdown.org/mcwimberly/gdswr-book/application---wildfire-severity-analysis.html">wildfire severity analysis</a> <span class="citation">(<a href="references.html#ref-wimberly_geographic_2023">Wimberly 2023</a>)</span>.
200200
Other topics which received limited attention were remote sensing and using R alongside (rather than as a bridge to) dedicated GIS software.
201-
There are many resources on these topics, including a <a href="https://github.com/r-spatial/discuss/issues/56">discussion on remote sensing in R</a>, <span class="citation">Wegmann, Leutner, and Dech (<a href="references.html#ref-wegmann_remote_2016">2016</a>)</span> and the GIS-related teaching materials available from <a href="https://geomoer.github.io/moer-info-page/courses.html">Marburg University</a>.</p>
201+
There are many resources on these topics, including a <a href="https://github.com/r-spatial/discuss/issues/56">discussion on remote sensing in R</a>, <span class="citation">Wegmann et al. (<a href="references.html#ref-wegmann_remote_2016">2016</a>)</span> and the GIS-related teaching materials available from <a href="https://geomoer.github.io/moer-info-page/courses.html">Marburg University</a>.</p>
202202
<p>We focused on machine learning rather than spatial statistical inference in Chapters <a href="spatial-cv.html#spatial-cv">12</a> and <a href="eco.html#eco">15</a> because of the abundance of quality resources on the topic.
203-
These resources include <span class="citation">A. Zuur et al. (<a href="references.html#ref-zuur_mixed_2009">2009</a>)</span>, <span class="citation">A. F. Zuur et al. (<a href="references.html#ref-zuur_beginners_2017">2017</a>)</span> which focus on ecological use cases, and freely available teaching material and code on <em>Geostatistics &amp; Open-source Statistical Computing</em> hosted at <a href="https://css.cornell.edu/faculty/dgr2/teach/">css.cornell.edu/faculty/dgr2</a>.
203+
These resources include <span class="citation">Zuur et al. (<a href="references.html#ref-zuur_mixed_2009">2009</a>)</span>, <span class="citation">Zuur et al. (<a href="references.html#ref-zuur_beginners_2017">2017</a>)</span> which focus on ecological use cases, and freely available teaching material and code on <em>Geostatistics &amp; Open-source Statistical Computing</em> hosted at <a href="https://css.cornell.edu/faculty/dgr2/teach/">css.cornell.edu/faculty/dgr2</a>.
204204
<a href="https://sdesabbata.github.io/r-for-geographic-data-science/"><em>R for Geographic Data Science</em></a> provides an introduction to R for geographic data science and modeling.</p>
205205
<p>We have largely omitted geocomputation on ‘big data’ by which we mean datasets that do not fit on a high-spec laptop.
206206
This decision is justified by the fact that the majority of geographic datasets that are needed for common research or policy applications <em>do</em> fit on consumer hardware, large high-resolution remote sensing datasets being a notable exception (see Section <a href="gis.html#cloud">10.8</a>).
@@ -444,7 +444,7 @@ <h2>Second Edition</h2>
444444
<footer class="bg-primary text-light mt-5"><div class="container"><div class="row">
445445

446446
<div class="col-12 col-md-6 mt-3">
447-
<p>"<strong>Geocomputation with R</strong>" was written by Robin Lovelace, Jakub Nowosad, Jannes Muenchow. It was last built on 2025-08-28.</p>
447+
<p>"<strong>Geocomputation with R</strong>" was written by Robin Lovelace, Jakub Nowosad, Jannes Muenchow. It was last built on 2026-01-19.</p>
448448
</div>
449449

450450
<div class="col-12 col-md-6 mt-3">

0 commit comments

Comments
 (0)