Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: kernel
See also: epa gau qua tri trian uni

Quantlet: cosi
Description: cosi computes the cosine kernel, multivariate

Usage: y = cosi(x)
Input:
x n x p matrix containing the user-defined data at which the kernel is to be computed
Output:
y n x 1 matrix containing the density estimate

Example:
library("kernel")
x = aseq(-1, 21, 0.1)
y = cosi(x)
t=createdisplay(1,1)
show(t,1,1,x~y)

Result:
The kernel is pictured



Author: L. Yang, 20010912 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006