Learn R Programming

spherepc (version 0.1.7)

Kernel.Gaussian: Gaussian kernel function

Description

This function returns the value of a Gaussian kernel function.

Usage

Kernel.Gaussian(vec)

Arguments

vec

any length of vector.

Value

vector.

Details

This function returns the value of a Gaussian kernel function. The value of kernel represents the similarity from origin. The function returns a vector whose length is same as vec.

See Also

Kernel.indicator, Kernel.quartic.

Examples

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

Run the code above in your browser using DataLab