iav.Rd
Calculates the inter-annual variation in a time series, i.e. (x[t+1]-x[t])/x[t]
Used to show how variable a quantity like yield
is under different management strategies within a Management Strategy Evaluation.
iav(x)
x | a vector holding a time series |
---|
a vector
with the inter-annual variation each time step
# NOT RUN { x=rnorm(2) iav(x) ## inter-annual average variation mean(iav(x),na.rm=T) # }