powered by
Calculates empirical probability weighted moments of specific order(s).
PWM(x, order = 0, na.rm = FALSE)
numeric vector of data.
integer, order of probability weighted moment, can be a set of {0,1,...}.
logical, indicates if NAs should be removed.
numeric vector, empirical PWM of orders order of x.
order
x
PWMs
# NOT RUN { PWM(rnorm(25)) PWM(rnorm(25), order = 2) PWM(rnorm(25), order = c(0, 2, 4)) # }
Run the code above in your browser using DataLab