-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.Rmd
56 lines (35 loc) · 1.37 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
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "inst/figures/",
out.width = "100%"
)
```
# mizerHowTo <img src='inst/figures/logo.png' align="right" height="240" />
This package contains several tutorials aiming to learn how to handle mizer models and to be able to calibrate mizer models with empirical data.
## Installation
The `remotes` package is needed to install packages hosted on GitHub.
```r
install.packages("remotes")
remotes::install_github("sizespectrum/mizerHowTo")
```
Finally, load the newly installed package with
```r
library(mizerHowTo)
```
To display any tutorial, use the `tutorial()` function.
Available tutorials are
- HTM0: Examples on the use of Mizer
- HTM1: How to parametrise a Mizer model the first time
- HTM2: How to refine the calibration of your model
- HTM3: How to calibrate using time series
Examples:
`tutorial("HTM1","html")` will display the online version of the first tutorial.
`tutorial("HTM2","Rmd")` will display the code of the second tutorial.
Several shiny apps (R code with user interface) are embedded in the tutorials. One can start them from the Rmarkdown files (.Rmd) by running the appropriate chunk of code.
All shiny apps functions follows this expression `shiny_XXX()`.
<img src='inst/figures/parameterSketch.png' align="center" />