Skip to content

Commit a6b8b5b

Browse files
author
marlonecobos
committed
first touches, not done
1 parent 786efb8 commit a6b8b5b

File tree

2 files changed

+177
-59
lines changed

2 files changed

+177
-59
lines changed

vignettes/projections_chelsa.Rmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ knitr::opts_chunk$set(
3636
#Load packages
3737
library(kuenm2)
3838
library(terra)
39+
40+
# Saving original plotting parameters
41+
original_par <- par(no.readonly = TRUE)
3942
```
4043

4144
In the ["Project models to multiple scenarios"](model_projections.html) vignette, we show how to predict the models to multiple scenarios at once. We used as example the future scenarios available in [WorldClim](https://worldclim.org/data/cmip6/cmip6climate.html), which have an specific function (`organize_future_worldclim`) to organize the files in the specific hierarchical manner compatible with `kuenm2`.
@@ -521,3 +524,10 @@ plot(summary_with_colors$Summary_changes)
521524
```
522525

523526
In this example, we can see that under present-day conditions, most GCMs indicate the species lost much of its suitable area during the LGM.
527+
528+
<br>
529+
530+
```{r par_reset}
531+
# Reset plotting parameters
532+
par(original_par)
533+
```

0 commit comments

Comments
 (0)