linearDecay {PathwaySpace} | R Documentation |
A simple linear decay function.
Description
The linearDecay
function is used by PathwaySpace's
methods for signal convolution and projection.
Usage
linearDecay(x, signal, ...)
Arguments
x |
A numeric vector of distances (in [0,1]). |
signal |
A single numeric value representing a signal. |
... |
Not used; argument implemented for call compatibility with
|
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 <- linearDecay(x, 1)
plot(x, y)
[Package PathwaySpace version 1.0.1 Index]