... | ... | @@ -4,19 +4,24 @@ |
|
|
1. Load Ibasam library:
|
|
|
> library(Ibasam)
|
|
|
|
|
|
2. Run a simulation using the [demoIbasam function](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/demoIbasam.R)
|
|
|
2. Run a simulation using the [demoIbasam](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/demoIbasam.R) function:
|
|
|
> demoIbasam(10)
|
|
|
|
|
|
with 10 being the number of years to simulate.
|
|
|
|
|
|
**Arguments**
|
|
|
|
|
|
demoIbasam(nYears, CC_Temp, CC_Amp, plotting = TRUE, window = FALSE, returning = FALSE, success = TRUE, empty = TRUE)
|
|
|
|
|
|
* nYears: number of years to simulate.
|
|
|
* CC_Temp: increase of average water temperature (in degrees Celsius) over the simulation (ex: CC_Temp = 3).
|
|
|
* CC_Amp: increase of amplitude of water flow over the simulation (ex: CC_Amp = 1.25, i.e. +25%).
|
|
|
|
|
|
3. Change default parameters
|
|
|
|
|
|
By default, Ibasam use the [default parameters](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/src/defaultParameters.h).
|
|
|
Ibasam load the default parameters using the function [defaultParameters()](
|
|
|
https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/defaultParameters.R). One can change parameters by modifying demoIbasam function:
|
|
|
|
|
|
|
|
|
|
|
|
Ibasam load the default parameters using the function [defaultParameters()](
|
|
|
https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/defaultParameters.R). One can change parameters by doing: |