-
Notifications
You must be signed in to change notification settings - Fork 1
/
YTRK_doc.Rmd
127 lines (107 loc) · 2.88 KB
/
YTRK_doc.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
title: 'Status of Yellowtail Rockfish (*Sebastes flavidus*) Along the U.S. Pacific Coast in 2017'
author: ''
date: ''
footer: ''
output:
pdf_document:
fig_caption: yes
highlight: haddock
includes:
before_body: Titlepage.tex
in_header: header.tex
keep_tex: yes
number_sections: yes
template: Default_template_modified.tex
toc: yes
toc_depth: 4
html_document:
toc: yes
word_document: default
documentclass: article
fontsize: 12pt
geometry: margin=1in
csl: CJFAS.csl
bibliography: BibFile.bib
link-citations: yes
header-includes:
- \usepackage{caption}
- \usepackage{grattanCharts}
---
```{r global_options, include=FALSE}
# set global options for R code chunks: echo=FALSE (don't include source code);
# warning=FALSE (suppress R warnings); message=FALSE (suppress R messages)
# eval = TRUE is default
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
```
```{r}
# Read in preamble R code - including required libraries and the SS file(s)
source('./Rcode/Preamble.R')
# Read in data/manipulations for executive summary tables and figures
# It may take time to edit this file and get it ready for your assessment
# Make small changes in this file and then try to compile the document
# Commit when you have a success!
source('./Rcode/Exec_summary_figs_tables.R')
```
\setlength{\parskip}{5mm plus1mm minus1mm}
\pagebreak
\pagenumbering{arabic}
<!--\setcounter{page}{1}-->
\renewcommand{\thefigure}{\alph{figure}}
\renewcommand{\thetable}{\alph{table}}
```{r child = "0_Executive_Summary.Rmd"}
```
<!--************RESET FIGURE & TABLE NUMBERS FOR THE DOCUMENT'S MAIN BODY** -->
\newpage
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
\setcounter{figure}{0}
\setcounter{table}{0}
<!-- How to comment out any section while debugging doc -->
<!-- -->
<!-- ```{r child='SS_file_appendices.rmd'}
``` -->
```{r child = "1_Introduction.Rmd"}
```
\newpage
```{r child = "2_Data.Rmd"}
```
\newpage
```{r child = "3_Assessment.Rmd"}
```
```{r child = "4_HarvestProjections.Rmd"}
```
```{r child = "5_RegionalManagement.Rmd"}
```
```{r child = "6_ResearchNeeds.Rmd"}
```
```{r child = "7_Acknowledgments.Rmd"}
```
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
\setcounter{figure}{0}
\setcounter{table}{0}
\newpage
```{r child = "8_Tables.Rmd"}
```
\newpage
```{r child = "9_Figures.Rmd"}
```
\newpage
```{r child = "10_References.Rmd"}
```
<div id="refs"></div>
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
\setcounter{figure}{0}
\setcounter{table}{0}
\newpage
```{r child = "11_Appendix_1.Rmd"}
```
```{r child = "12_Appendix_2.Rmd"}
```
```{r child = "13_Appendix_3.Rmd"}
```
```{r child = "14_Appendix_4.Rmd"}
```
<!-- ********************END OF THE DOCUMENT******************************* -->