-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Trying Rmarkdown | ||
Ben Best | ||
August 1, 2014 | ||
|
||
## Introduction {-} | ||
|
||
The Ocean Health Index [@halpern_index_2012; @selig_assessing_2013] derives most of its pressures from Halpern et al. [-@halpern_global_2008]. | ||
|
||
## Food Provision: Fisheries | ||
|
||
Amount of sustainable wild-caught seafood compared to the max sustainable | ||
|
||
$$ | ||
x_{FIS} = (\prod_{g=1}^{6} SS_{i,g}^{C_{i,g}})^\frac{1}{\sum{C_{i,g}}} | ||
$$ | ||
|
||
Variables: | ||
|
||
- $SS$: stock status score, based on B/Bmsy and an underharvest penalty adjustment | ||
- $C$: total catch | ||
- $i$: OHI reporting region | ||
- $g$: level of taxonomic grouping (ISSCAAP)</small> | ||
|
||
|
||
## Default Rmarkdown | ||
|
||
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>. | ||
|
||
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: | ||
|
||
|
||
```r | ||
summary(cars) | ||
``` | ||
|
||
``` | ||
## speed dist | ||
## Min. : 4.0 Min. : 2 | ||
## 1st Qu.:12.0 1st Qu.: 26 | ||
## Median :15.0 Median : 36 | ||
## Mean :15.4 Mean : 43 | ||
## 3rd Qu.:19.0 3rd Qu.: 56 | ||
## Max. :25.0 Max. :120 | ||
``` | ||
|
||
You can also embed plots, for example: | ||
|
||
![Scatterplot of cars.](./test_files/figure-html/unnamed-chunk-2.png) | ||
|
||
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot. | ||
|
||
## References {-} | ||
<!-- placeholder for References in toc --!> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.