Skip to content

Commit

Permalink
re-render
Browse files Browse the repository at this point in the history
  • Loading branch information
CeresBarros committed Aug 23, 2024
1 parent a1fa18e commit afb15b3
Show file tree
Hide file tree
Showing 7 changed files with 583 additions and 449 deletions.
2 changes: 1 addition & 1 deletion docs/Part1_DummyModel.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ <h1 class="title"><span id="sec-part1" class="quarto-section-identifier"><span c
<span><span class="co">## Warning: Using `size` aesthetic for lines was deprecated in ggplot2</span></span>
<span><span class="co">## 3.4.0.</span></span>
<span><span class="co">## ℹ Please use `linewidth` instead.</span></span>
<span><span class="fu">ggarrange</span><span class="op">(</span>plotlist <span class="op">=</span> <span class="va">lmPlots</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span><span class="fu"><a href="https://rpkgs.datanovia.com/ggpubr/reference/ggarrange.html">ggarrange</a></span><span class="op">(</span>plotlist <span class="op">=</span> <span class="va">lmPlots</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details><div class="cell-output-display">
<div>
<figure class="figure"><p><img src="Part1_DummyModel_files/figure-html/data_analysis-1.png" class="img-fluid figure-img" width="672"></p>
Expand Down
1,008 changes: 570 additions & 438 deletions docs/Part2_SDMs.html

Large diffs are not rendered by default.

Binary file modified docs/SpaDES-For-Dummies.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/appendices/Part1_Rscript.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ <h1 class="title"><span id="sec-scriptPart1" class="quarto-section-identifier">A
</header><div class="cell">
<details class="code-fold"><summary>Code</summary><div class="sourceCode" id="cb1"><pre class="downlit sourceCode r code-with-copy"><code class="sourceCode R"><span><span class="co">## start from a clean R session</span></span>
<span><span class="fu"><a href="https://rdrr.io/r/base/options.html">options</a></span><span class="op">(</span>repos <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"https://predictiveecology.r-universe.dev/"</span>,</span>
<span> CRAN <span class="op">=</span> <span class="st">"https://cloud.r-project.org"</span><span class="op">)</span><span class="op">)</span></span>
<span> <span class="st">"https://cloud.r-project.org"</span>, </span>
<span> <span class="fu"><a href="https://rdrr.io/r/base/options.html">getOption</a></span><span class="op">(</span><span class="st">"repos"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html">install.packages</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"SpaDES.project"</span>, <span class="st">"SpaDES.core"</span><span class="op">)</span><span class="op">)</span></span>
<span></span>
<span><span class="kw"><a href="https://rdrr.io/r/base/library.html">library</a></span><span class="op">(</span><span class="va"><a href="https://spades-project.predictiveecology.org/">SpaDES.project</a></span><span class="op">)</span></span>
Expand Down
7 changes: 4 additions & 3 deletions docs/appendices/Part2_Rscript.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,9 @@ <h1 class="title"><span id="sec-scriptPart2" class="quarto-section-identifier">A
<span> <span class="st">"See https://github.com/rspatial/dismo/issues/13"</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="op">}</span></span>
<span></span>
<span><span class="va">repos</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"https://predictiveecology.r-universe.dev/"</span>, </span>
<span> CRAN <span class="op">=</span> <span class="st">"https://cloud.r-project.org"</span><span class="op">)</span></span>
<span><span class="va">repos</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"https://predictiveecology.r-universe.dev/"</span>,</span>
<span> <span class="st">"https://cloud.r-project.org"</span>,</span>
<span> <span class="fu"><a href="https://rdrr.io/r/base/options.html">getOption</a></span><span class="op">(</span><span class="st">"repos"</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html">install.packages</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"SpaDES.project"</span>, <span class="st">"SpaDES.core"</span><span class="op">)</span>, repos <span class="op">=</span> <span class="va">repos</span><span class="op">)</span></span>
<span></span>
<span><span class="co">## decide where you're working</span></span>
Expand Down Expand Up @@ -424,7 +425,7 @@ <h1 class="title"><span id="sec-scriptPart2" class="quarto-section-identifier">A
<span></span>
<span><span class="co">## organise the plots with mildest scenario first</span></span>
<span><span class="co">## It is clear that MaxEnt and GLM do not agree in their prediction</span></span>
<span><span class="va">plotAll</span> <span class="op">&lt;-</span> <span class="fu">ggpubr</span><span class="fu">::</span><span class="fu">ggarrange</span><span class="op">(</span><span class="va">plotMaxEnt2</span> <span class="op">+</span> <span class="fu">labs</span><span class="op">(</span>title <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/expression.html">expression</a></span><span class="op">(</span><span class="fu">bold</span><span class="op">(</span><span class="st">"Scenario - SSP 126"</span><span class="op">)</span><span class="op">)</span>,</span>
<span><span class="va">plotAll</span> <span class="op">&lt;-</span> <span class="fu">ggpubr</span><span class="fu">::</span><span class="fu"><a href="https://rpkgs.datanovia.com/ggpubr/reference/ggarrange.html">ggarrange</a></span><span class="op">(</span><span class="va">plotMaxEnt2</span> <span class="op">+</span> <span class="fu">labs</span><span class="op">(</span>title <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/expression.html">expression</a></span><span class="op">(</span><span class="fu">bold</span><span class="op">(</span><span class="st">"Scenario - SSP 126"</span><span class="op">)</span><span class="op">)</span>,</span>
<span> y <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/expression.html">expression</a></span><span class="op">(</span><span class="fu">atop</span><span class="op">(</span><span class="fu">bold</span><span class="op">(</span><span class="st">"Raw predictions"</span><span class="op">)</span>, <span class="st">"Latitude"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">+</span></span>
<span> <span class="fu">theme</span><span class="op">(</span>legend.title <span class="op">=</span> <span class="fu">element_blank</span><span class="op">(</span><span class="op">)</span>, legend.key.height <span class="op">=</span> <span class="fu">unit</span><span class="op">(</span><span class="fl">3</span>, <span class="st">"lines"</span><span class="op">)</span>,</span>
<span> plot.title <span class="op">=</span> <span class="fu">element_text</span><span class="op">(</span>hjust <span class="op">=</span> <span class="fl">0.5</span><span class="op">)</span>, plot.margin <span class="op">=</span> <span class="fu">margin</span><span class="op">(</span><span class="fl">0</span>,<span class="fl">0</span>,<span class="fl">0</span>,<span class="fl">0</span><span class="op">)</span><span class="op">)</span>, </span>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="author" content="Eliot McIntire">
<meta name="author" content="Tati Micheletti">
<meta name="author" content="Alex Chubaty">
<meta name="dcterms.date" content="2024-07-24">
<meta name="dcterms.date" content="2024-08-22">
<title>SpaDES For Dummies</title>
<style>
code{white-space: pre-wrap;}
Expand Down Expand Up @@ -247,7 +247,7 @@ <h1 class="title">SpaDES For Dummies</h1>
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">July 24, 2024</p>
<p class="date">August 22, 2024</p>
</div>
</div>

Expand Down
8 changes: 4 additions & 4 deletions docs/search.json

Large diffs are not rendered by default.

0 comments on commit afb15b3

Please sign in to comment.