Skip to contents

Count of |diff(x)| > threshold (defaults to sd(x)).

Usage

morie_dsp_willison_amplitude(x, threshold = NULL)

Arguments

x

Numeric vector.

threshold

Optional threshold (default sd(x)).

Value

Integer count.

References

Rangayyan & Krishnan (2015), Ch. 5, sec. 5.4.