PKernel: PKernel

Description Usage Arguments Value Examples

View source: R/RKSIR.R

Description

Second Order Polynomial Kernel

Usage

1
PKernel(x, z, sigma = 1)

Arguments

x

the first vector

z

the second vector

sigma

bandwidth

Value

a numeric value

k

value of k(x, z)

Examples

1
2
3
4
5
## Not run: 
x = c(1, 0); z = c(0, 1)
PKernel(x, z)

## End(Not run)

zhaolotelli/SC19017 documentation built on Jan. 3, 2020, 9:19 p.m.