Description Usage Arguments Value
Simulate one time series with disturbance
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | simulTS(
nyr,
nobsyr,
tMiss,
nDr,
seasAv,
seasAmp,
trAv,
remSd,
distMag,
distT,
distRec,
distType
)
|
nyr |
number of years that need to be simulated |
nobsyr |
number of observations per year that will be simulated |
tMiss |
timing of missing values [observation number]. If tMiss equals NA, no missing values are introduced. |
nDr |
number of drought years that are introduced [i.e. setting seasonality of a year equal to its minimum value]. These drought years are randomly chosen. |
seasAv |
average seasonality profile |
seasAmp |
seasonality amplitude |
trAv |
offset value of time series |
remSd |
standard deviation of the remainder |
distMag |
magnitude of the disturbance |
distT |
timing of the disturbance [observation number] |
distRec |
duration of the recovery [number of observations] |
distType |
type of disturbance-recovery process: 'piecewise' represents a step function with linear recovery, 'exponential' represents an exponential decay |
remMod |
ARMA model of remainder |
a list containign the years for which a drought was introduced and a time series object, containing the simulated seasonality, trend, remainder, disturbance, and the sum of these components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.