PWM {TLMoments} | R Documentation |
Probability weighted moments
Description
Calculates empirical probability weighted moments of specific order(s).
Usage
PWM(x, order = 0, na.rm = FALSE)
Arguments
x |
numeric vector of data. |
order |
integer, order of probability weighted moment, can be a set of {0,1,...}. |
na.rm |
logical, indicates if NAs should be removed. |
Value
numeric vector, empirical PWM of orders order
of x
.
See Also
Examples
PWM(rnorm(25))
PWM(rnorm(25), order = 2)
PWM(rnorm(25), order = c(0, 2, 4))
[Package TLMoments version 0.7.5.3 Index]