kernelC {BAREB}R Documentation

The function to get the kernel function value

Description

This function take two configurations x and y, two parameters of the kernel function and returns its kernel function value.

Usage

kernelC(x,y,theta,tau)

Arguments

x

a numeric vector, representing one configuration

y

a numeric vector, representing one configuration

theta

a parameter of the DPP's kernel function

tau

a parameter of the DPP's kernel function

Value

kernelC(x,y,theta,tau) returns the value of the kernel function

Author(s)

Yuliang Li

See Also

update_RJ for a complete example for all functions in this package.

Examples

  x <- rnorm(5)
  y <- rnorm(5) + 1
  kernelC(x,y,1,1)

[Package BAREB version 0.1.2 Index]