Learn R Programming

sad (version 0.1.3)

semd: spectral emd

Description

earth mover's distance between dual-tree wavelet spectra

Usage

semd(dt1, dt2, a = 1, dir = TRUE)

Arguments

dt1, dt2

forecast and observed spectrum

a

ratio between scale- and directional component

dir

whether or not to include direction information

Value

a single value, the emd. If dir=FALSE, the value is signed, indicating the direction of the scale error.