Learn R Programming

hyfo (version 1.3.4)

getMoment: get moment analysis of the input distribution

Description

get moment analysis of the input distribution

Usage

getMoment(dis)

Arguments

dis
A distribution, for hydrology usually a time series with only data column without time.

Value

  • The mean, variation, skewness and kurtosis of the input distribution

References

  • Lukasz Komsta and Frederick Novomestky (2015). moments: Moments, cumulants, skewness, kurtosis and related tests. R package version 0.14. http://CRAN.R-project.org/package=moments
  • R Core Team (2015). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL http://www.R-project.org/.

Examples

Run this code
dis <- seq(1, 100)
getMoment(dis)

# More examples can be found in the user manual on http://yuanchao-xu.github.io/hyfo/

Run the code above in your browser using DataLab