Skip to content

Commit 4c33f8a

Browse files
committed
added equation
1 parent 572559a commit 4c33f8a

2 files changed

Lines changed: 35 additions & 4 deletions

File tree

rmarkdown_example/test.Rmd

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,26 @@ bibliography: test.bib
1010
csl: apa.csl
1111
---
1212

13-
## Introduction
13+
## Introduction {-}
1414

1515
The Ocean Health Index [@halpern_index_2012; @selig_assessing_2013] derives most of its pressures from Halpern et al. [-@halpern_global_2008].
1616

17+
## Food Provision: Fisheries
18+
19+
Amount of sustainable wild-caught seafood compared to the max sustainable
20+
21+
$$
22+
x_{FIS} = (\prod_{g=1}^{6} SS_{i,g}^{C_{i,g}})^\frac{1}{\sum{C_{i,g}}}
23+
$$
24+
25+
Variables:
26+
27+
- $SS$: stock status score, based on B/Bmsy and an underharvest penalty adjustment
28+
- $C$: total catch
29+
- $i$: OHI reporting region
30+
- $g$: level of taxonomic grouping (ISSCAAP)</small>
31+
32+
1733
## Default Rmarkdown
1834

1935
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.

rmarkdown_example/test.html

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,31 @@ <h4 class="date"><em>August 1, 2014</em></h4>
6060

6161
<div id="TOC">
6262
<ul>
63-
<li><a href="#introduction"><span class="toc-section-number">0.1</span> Introduction</a></li>
63+
<li><a href="#introduction">Introduction</a></li>
64+
<li><a href="#food-provision-fisheries"><span class="toc-section-number">0.1</span> Food Provision: Fisheries</a></li>
6465
<li><a href="#default-rmarkdown"><span class="toc-section-number">0.2</span> Default Rmarkdown</a></li>
6566
<li><a href="#references">References</a></li>
6667
</ul>
6768
</div>
6869

69-
<div id="introduction" class="section level2">
70-
<h2><span class="header-section-number">0.1</span> Introduction</h2>
70+
<div id="introduction" class="section level2 unnumbered">
71+
<h2>Introduction</h2>
7172
<p>The Ocean Health Index <span class="citation">(Halpern et al., 2012; Selig et al., 2013)</span> derives most of its pressures from Halpern et al. <span class="citation">(2008)</span>.</p>
7273
</div>
74+
<div id="food-provision-fisheries" class="section level2">
75+
<h2><span class="header-section-number">0.1</span> Food Provision: Fisheries</h2>
76+
<p>Amount of sustainable wild-caught seafood compared to the max sustainable</p>
77+
<p><span class="math">\[
78+
x_{FIS} = (\prod_{g=1}^{6} SS_{i,g}^{C_{i,g}})^\frac{1}{\sum{C_{i,g}}}
79+
\]</span></p>
80+
<p>Variables:</p>
81+
<ul>
82+
<li><span class="math">\(SS\)</span>: stock status score, based on B/Bmsy and an underharvest penalty adjustment</li>
83+
<li><span class="math">\(C\)</span>: total catch</li>
84+
<li><span class="math">\(i\)</span>: OHI reporting region</li>
85+
<li><span class="math">\(g\)</span>: level of taxonomic grouping (ISSCAAP)</small></li>
86+
</ul>
87+
</div>
7388
<div id="default-rmarkdown" class="section level2">
7489
<h2><span class="header-section-number">0.2</span> Default Rmarkdown</h2>
7590
<p>This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <a href="http://rmarkdown.rstudio.com">http://rmarkdown.rstudio.com</a>.</p>

0 commit comments

Comments
 (0)