expDecay {PathwaySpace} | R Documentation |
Exponential decay function.
Description
The expDecay
function is used by PathwaySpace's methods
for signal convolution and projection.
Usage
expDecay(x, signal, decay = 0.999, ...)
Arguments
x |
A numeric vector of distances (in [0,1]). |
signal |
A single numeric value representing a signal. |
decay |
The rate (in [0,1]) at which the signal decays.
This term indicates how much the |
... |
Not used; argument implemented for call compatibility with
the |
Value
A numeric vector.
Author(s)
Vinicius Chagas, Victor Apolonio, and Mauro Castro (mauro.castro@ufpr.br)
See Also
Examples
x <- c(1:100) / 100
y <- expDecay(x, 1)
plot(x, y)
[Package PathwaySpace version 1.0.1 Index]