Kernel.quartic {spherepc} | R Documentation |
Quartic kernel function
Description
This function returns the value of a quartic kernel function.
Usage
Kernel.quartic(vec)
Arguments
vec |
any length of vector. |
Details
This function returns the value of quartic 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.indicator
.
Examples
Kernel.quartic(c(0, 1/2, 1, 2))
[Package spherepc version 0.1.7 Index]