PWM: Probability weighted moments

View source: R/PWM.R

PWMR 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

PWMs

Examples

PWM(rnorm(25))
PWM(rnorm(25), order = 2)
PWM(rnorm(25), order = c(0, 2, 4))

TLMoments documentation built on March 27, 2022, 5:07 p.m.