Commit f6b180af authored by Florian de Boissieu's avatar Florian de Boissieu
Browse files

update vignette

parent 053c318d
...@@ -59,7 +59,7 @@ knitr::opts_chunk$set( ...@@ -59,7 +59,7 @@ knitr::opts_chunk$set(
# Map.Beta.Diversity(Input.Image.File, Output.Dir, Spatial.Res, # Map.Beta.Diversity(Input.Image.File, Output.Dir, Spatial.Res,
# nbCPU = nbCPU, MaxRAM = MaxRAM) # nbCPU = nbCPU, MaxRAM = MaxRAM)
## ----Validation---------------------------------------------------------- ## ----alpha and beta diversity indices from vector layer------------------
# # location of the spectral species raster needed for validation # # location of the spectral species raster needed for validation
# TypePCA = 'SPCA' # TypePCA = 'SPCA'
# Dir.Raster = file.path(Output.Dir,basename(Input.Image.File),TypePCA,'SpectralSpecies') # Dir.Raster = file.path(Output.Dir,basename(Input.Image.File),TypePCA,'SpectralSpecies')
......
...@@ -144,10 +144,10 @@ Map.Beta.Diversity(Input.Image.File, Output.Dir, Spatial.Res, ...@@ -144,10 +144,10 @@ Map.Beta.Diversity(Input.Image.File, Output.Dir, Spatial.Res,
nbCPU = nbCPU, MaxRAM = MaxRAM) nbCPU = nbCPU, MaxRAM = MaxRAM)
``` ```
# Validation # $\alpha$ and $\beta$ diversity indices from vector layer
The folowing code computes $\alpha$ and $\beta$ diversity from field plots and extracts the corresponding diversity index from previouly computed rasters in order to have a validation analysis. The folowing code computes $\alpha$ and $\beta$ diversity from field plots and extracts the corresponding diversity index from previouly computed rasters in order to have a validation analysis.
```{r Validation} ```{r alpha and beta diversity indices from vector layer}
# location of the spectral species raster needed for validation # location of the spectral species raster needed for validation
TypePCA = 'SPCA' TypePCA = 'SPCA'
Dir.Raster = file.path(Output.Dir,basename(Input.Image.File),TypePCA,'SpectralSpecies') Dir.Raster = file.path(Output.Dir,basename(Input.Image.File),TypePCA,'SpectralSpecies')
......
...@@ -200,8 +200,8 @@ Index.Alpha =<span class="st"> </span><span class="kw">c</span>(<span class="s ...@@ -200,8 +200,8 @@ Index.Alpha =<span class="st"> </span><span class="kw">c</span>(<span class="s
<span class="dt">nbCPU =</span> nbCPU, <span class="dt">MaxRAM =</span> MaxRAM)</code></pre></div> <span class="dt">nbCPU =</span> nbCPU, <span class="dt">MaxRAM =</span> MaxRAM)</code></pre></div>
</div> </div>
</div> </div>
<div id="validation" class="section level1"> <div id="alpha-and-beta-diversity-indices-from-vector-layer" class="section level1">
<h1><span class="header-section-number">3</span> Validation</h1> <h1><span class="header-section-number">3</span> <span class="math inline">\(\alpha\)</span> and <span class="math inline">\(\beta\)</span> diversity indices from vector layer</h1>
<p>The folowing code computes <span class="math inline">\(\alpha\)</span> and <span class="math inline">\(\beta\)</span> diversity from field plots and extracts the corresponding diversity index from previouly computed rasters in order to have a validation analysis.</p> <p>The folowing code computes <span class="math inline">\(\alpha\)</span> and <span class="math inline">\(\beta\)</span> diversity from field plots and extracts the corresponding diversity index from previouly computed rasters in order to have a validation analysis.</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="co"># location of the spectral species raster needed for validation</span> <div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="co"># location of the spectral species raster needed for validation</span>
TypePCA =<span class="st"> 'SPCA'</span> TypePCA =<span class="st"> 'SPCA'</span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment