Description Usage Arguments Value References Examples
View source: R/FourierKernel.R
Calculates the kernel matrix, described in \insertCiteBKS2020USP for univariate continuous data when using the Fourier basis. This function is used in USPFourier.
1 | FourierKernel(x, M)
|
x |
A vector in [0,1]^n for some n, containing the observations. |
M |
The maximum frequency of Fourier basis functions to compute. |
The kernel matrix K, to be used in independence testing.
BKS2020USP
1 2 | n=10; x=runif(n)
FourierKernel(x,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.