Skip to content

Commit

Permalink
Split-out pkg loading and reading for #669
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Nov 8, 2021
1 parent c9fade3 commit 28a0b64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 04-spatial-operations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ library(sf)
library(terra)
library(dplyr)
library(spData)
```

- You also need to read in a couple of datasets as follows for Section \@ref(spatial-ras)

```{r 04-spatial-operations-1-1}
elev = rast(system.file("raster/elev.tif", package = "spData"))
grain = rast(system.file("raster/grain.tif", package = "spData"))
```


## Introduction

Spatial operations are a vital part of geocomputation\index{geocomputation}.
Expand Down

0 comments on commit 28a0b64

Please sign in to comment.