getMoment function

get moment analysis of the input distribution

get moment analysis of the input distribution

getMoment(dis)

Arguments

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

Returns

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

Examples

dis <- seq(1, 100) getMoment(dis) # More examples can be found in the user manual on https://yuanchao-xu.github.io/hyfo/

References

  • Lukasz Komsta and Frederick Novomestky (2015). moments: Moments, cumulants, skewness, kurtosis and related tests. R package version 0.14. https://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 https://www.R-project.org/.

Other functions in hyfo

Related functions from the same R package

  • Maintainer: Yuanchao Xu
  • License: GPL-2
  • Last published: 2023-08-16