... | ... | @@ -22,6 +22,24 @@ demoIbasam(nYears, CC_Temp, CC_Amp, plotting = TRUE, window = FALSE, returning = |
|
|
* CC_Amp: increase of amplitude of water flow over the simulation (ex: CC_Amp = 1.25, i.e. +25%). See [section](riverclimate) for more information.
|
|
|
|
|
|
|
|
|
Note that, the [demoIbasam](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/demoIbasam.R) function can be modified to adjust parameters values to your system.
|
|
|
1. Create a copy of [demoIbasam](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/demoIbasam.R). For example, *myIbasam.R*
|
|
|
3. Rename the function and modify parameters values (see section below):
|
|
|
``` R
|
|
|
myIbasam <-
|
|
|
function (nYears, CC_Temp, CC_Amp, plotting = TRUE, window = FALSE, returning = FALSE,
|
|
|
success = TRUE, empty = TRUE)
|
|
|
{
|
|
|
...
|
|
|
}
|
|
|
```
|
|
|
2. And then, load the new function in R:
|
|
|
``` R
|
|
|
source(myIbasam.R)
|
|
|
myIbasam(10)
|
|
|
```
|
|
|
|
|
|
|
|
|
# INPUT
|
|
|
|
|
|
## Temporal series of environmental conditions
|
... | ... | |