-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
88 lines (58 loc) · 2.21 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
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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# AMPLE
<!-- badges: start -->
<!-- badges: end -->
AMPLE provides three Shiny apps to explore how Harvest Control Rules (HCRs) work and how performance indicators can be used to select between them.
The three apps are:
* *Introduction to HCRs* provides a simple overview to how HCRs work. Users are able to select their own HCR and step through its performance, year by year. Biological variability and estimation error are introduced.
* *Measuring performance* builds on the previous app and introduces the idea of using performance indicators to evaluate HCR performance.
* *Comparing performance* allows multiple HCRs to be created and tested, and their performance compared so that the preferred HCR can be selected.
## Installation
You can install the released version of AMPLE from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("AMPLE")
```
Alternatively, you can get the latest version from the GitHub repository [here](https://github.com/PacificCommunity/ofp-sam-ample//) by installing it with the *devtools* package.
``` r
devtools::install_github("PacificCommunity/ofp-sam-ample")
```
## Usage
Load the library as usual:
```{r eval=FALSE}
library(AMPLE)
```
The apps can be launched by calling the appropriate function:
```{r eval=FALSE}
intro_hcr()
```
```{r eval=FALSE}
measuring_performance()
```
```{r eval=FALSE}
comparing_performance()
```
The apps are also hosted online at:
* https://ofp-sam.shinyapps.io/AMPLE-intro-hcr/
* https://ofp-sam.shinyapps.io/AMPLE-measuring-performance/
* https://ofp-sam.shinyapps.io/AMPLE-comparing-performance/
## Vignettes
There are three vignettes that walk users through the app.
These can be used in workshops etc to help learning.
You can access them from R using:
```{r eval=FALSE}
vignette("intro_hcr", package="AMPLE")
vignette("measuring_performance", package="AMPLE")
vignette("comparing_performance", package="AMPLE")
```
The vignettes are also accessible through the Shiny apps, under the 'Information' tab.