-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME.Rmd
47 lines (36 loc) · 1.25 KB
/
README.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
---
title: "2022_ple.27.7e_assessment"
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## Plaice (_Pleuronectes platessa_) in Division 7.e (western English Channel) - WGCSE 2022 (not 2023).
This repository recreates the stock assessment for plaice (_Pleuronectes platessa_) in Division 7.e (western English Channel) in `R` from WGCSE 2022 - not yet updated for 2023.
## R packages
The following R packages from CRAN are required to run the assessment:
```{r, eval = FALSE}
icesTAF
```
Furthermore, the following packages from GitHub are required:
```{r, eval = FALSE}
cat3advice
```
They can be installed via:
```{r, eval = FALSE}
install.packages("icesTAF")
library(icesTAF)
# install missing packages
install.deps(repos = c("https://cloud.r-project.org", "https://ices-tools-prod.r-universe.dev"))
```
## Running the assessment
The easiest way to run the assessment is to clone or download this repository, navigate into the repository with R and run:
```{r, eval = FALSE}
### load the icesTAF package
library(TAF)
### load data and install R packages
taf.boot()
### run all scripts
sourceAll()
```
This code snippet runs the data compilation and assessment and creates the tables and figures presented in the WG report.