-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLandWeb_preamble.Rmd
74 lines (47 loc) · 1.65 KB
/
LandWeb_preamble.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
---
title: "LandWeb_preamble"
author: ""
date: "09 December 2018"
output: pdf_document
---
# Overview
Provide an overview of what the module does / how to use the module.
Module documentation should be written so that others can use your module.
This is a template for module documentation, and should be changed to reflect your module.
## R Markdown
R Markdown syntax allows R code, outputs, and figures to be rendered in the documentation.
For help writing in R Markdown, see http://rmarkdown.rstudio.com/.
# Usage
```{r module_usage}
library(SpaDES)
setPaths(modulePath = file.path("~/GitHub/LandWeb/m"))
getPaths() # shows where the 4 relevant paths are
times <- list(start = 0, end = 10)
parameters <- list(
#.progress = list(type = "text", interval = 1), # for a progress bar
## If there are further modules, each can have its own set of parameters:
#module1 = list(param1 = value1, param2 = value2),
#module2 = list(param1 = value1, param2 = value2)
)
modules <- list("LandWeb_preamble")
objects <- list()
inputs <- list()
outputs <- list()
mySim <- simInit(times = times, params = parameters, modules = modules,
objects = objects)
mySimOut <- spades(mySim)
```
# Events
Describe what happens for each event type.
## Plotting
Write what is plotted.
## Saving
Write what is saved.
# Data dependencies
## Input data
How to obtain input data, and a description of the data required by the module.
If `sourceURL` is specified, `downloadData("LandWeb_preamble", "path/to/modules/dir")` may be sufficient.
## Output data
Description of the module outputs.
# Links to other modules
Describe any anticipated linkages to other modules.