Skip to content

Commit d3678c9

Browse files
committed
fixed issue with link in code comment
1 parent 4ed5b62 commit d3678c9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

labs/statistical-models/statistical-models.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ or if you like a bit more cartographic polish use `tmap` (but do this in plot mo
5959
```{r warning = FALSE, message = FALSE}
6060
tmap_mode('plot') # best to do this in plot mode
6161
tm_shape(layers) +
62-
tm_raster(title = names(layers)) + # shouldn't need title setting, but [there may be a bug](https://github.com/mtennekes/tmap/issues/166) and this seems to work around it
62+
tm_raster(title = names(layers)) +
6363
tm_facets(free.scales = TRUE) # this allows a different scale for each layer
6464
```
6565

66+
(Note that we shoudln't have to supply the `title = ...` setting, but there seems to be a bug](https://github.com/mtennekes/tmap/issues/166) and this seems to work around it.)
67+
6668
## Plant presence-absence data
6769
I obtained presence-absence data for the mysterious 'nz35' species from the [`disdat` package]() with some more details but not plant identities, unfortunately in [this paper](https://dx.doi.org/10.17161/bi.v15i2.13384).
6870
```{r}

labs/statistical-models/statistical-models.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ or if you like a bit more cartographic polish use `tmap` (but do this in plot mo
5959
```{r warning = FALSE, message = FALSE}
6060
tmap_mode('plot') # best to do this in plot mode
6161
tm_shape(layers) +
62-
tm_raster(title = names(layers)) + # shouldn't need title setting, but [there may be a bug](https://github.com/mtennekes/tmap/issues/166) and this seems to work around it
62+
tm_raster(title = names(layers)) +
6363
tm_facets(free.scales = TRUE) # this allows a different scale for each layer
6464
```
6565

66+
(Note that we shoudln't have to supply the `title = ...` setting, but there seems to be a bug](https://github.com/mtennekes/tmap/issues/166) and this seems to work around it.)
67+
6668
## Plant presence-absence data
6769
I obtained presence-absence data for the mysterious 'nz35' species from the [`disdat` package]() with some more details but not plant identities, unfortunately in [this paper](https://dx.doi.org/10.17161/bi.v15i2.13384).
6870
```{r}
319 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)