Skip to contents

Calculate the inverse participation ratio (IPR) for a vector.

Usage

ipr(x)

Arguments

x

A numeric vector.

Value

A scalar numeric value representing the IPR.