Runs a function on the wave and outputs values in the Natural Time Domain (see Varotsos, Sarlis & Skordas(2011) doi:10.1007/978-3-642-16449-1).
ntd(wave, events, FUN, normalise = FALSE, argument = "wave", ...)
A list of outputs form the applied function
A Wave object containing pulses
Onset of detected events, e.g. from pulseDetection()
The function to run
If TRUE the output is a probability density
If "wave" supplies a weave object to the function, if "vector" supplies the left channel as a numeric vector.
Additional arguments to FUN