moment.Rd
The calculates moments of a distribution, i.e. mean, standard deviation, skew and kurtosis
# S4 method for numeric moment(object, n = rep(1, length(object)), na.rm = T)
object | a vector holding a time series |
---|---|
n | number of observations equal to length og object by default |
na.rm |
|
... | any other arguments, i.e. x,n=rep(1,length(x)),na.rm=T |
a vector
with the inter-annual variation each time step
# NOT RUN { x=rlnorm(100) moment(x) # }