Learn R Programming

spherepc (version 0.1.7)

Kernel.quartic: Quartic kernel function

Description

This function returns the value of a quartic kernel function.

Usage

Kernel.quartic(vec)

Arguments

vec

any length of vector.

Value

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.

See Also

Kernel.Gaussian, Kernel.indicator.

Examples

Run this code
# NOT RUN {
Kernel.quartic(c(0, 1/2, 1, 2))
# }

Run the code above in your browser using DataLab