You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Create issues on our [issue tracker](https://github.com/ropensci/stplanr/issues)
202
238
- Check out the [vignette](https://cran.r-project.org/web/packages/stplanr/vignettes/introducing-stplanr.html)
203
239
- See my tutorial on visualising spatial data for eRum: [Creating-maps-in-R/blob/master/vignettes/vspd-base-shiny.md](https://github.com/Robinlovelace/Creating-maps-in-R/blob/master/vignettes/vspd-base-shiny.md)
204
-
- Academic paper on the PCT: http://arxiv.org/abs/1509.04425
240
+
- Academic paper on the PCT: http://arxiv.org/abs/1509.04425
241
+
242
+
## Exercises
243
+
244
+
- Work through the [vignette](https://cran.r-project.org/web/packages/stplanr/vignettes/introducing-stplanr.html) provided by:
245
+
246
+
```{r, eval=FALSE}
247
+
vignette("introducing-stplanr")
248
+
```
249
+
250
+
- Create a single desire line for the 12th flow without using **stplanr** code (**stplanr** solution below):
251
+
252
+
```{r, eval=FALSE}
253
+
od2line(flow = flow[12,], zones = cents)
254
+
```
255
+
256
+
- Visualise the `flowlines` object using **tmap** with different colours and widths
257
+
- Create a 'oneway' version of the `flowlines` and visualise these (tricky)
258
+
- Create a **sf** version of the `flowlines` object (advanced)
0 commit comments