Skip to content

Commit

Permalink
add terra example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
geryan committed Sep 18, 2024
1 parent 77e70e2 commit 53ba164
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,13 @@ ggplot(mpg) +
scale_fill_manual(values = idpalette("idem")) +
theme_bw()
```
```{r}
library(sdmtools)
library(tidyterra)
r <- example_raster(seed = 20240802)
plot(r, col = idem(100))
```

0 comments on commit 53ba164

Please sign in to comment.