Kernel.indicator {spherepc} | R Documentation |
Indicator kernel function
Description
This function returns the value of an indicator kernel function.
Usage
Kernel.indicator(vec)
Arguments
vec |
any length of vector. |
Details
This function returns the value of an indicator kernel function. The value of kernel represents similarity from origin. The function returns a vector whose length is same as vec
.
Value
vector.
Author(s)
Jongmin Lee
See Also
Kernel.Gaussian
, Kernel.quartic
.
Examples
Kernel.indicator(c(0, 1/2, 1, 2))
[Package spherepc version 0.1.7 Index]