# Generate Empirical Centralized Kernel Matrix
generateKernelMatrix <- function(x, kernel_function = "gau") {
.checkNonEmpty("x", x)
if (!is.matrix(x) | !is.numeric(x)) x <- .convertToNumericMatrix(x)
.checkX(x)
.checkKernelFunction(kernel_function)
.Call(`_AMKAT_generateKernelMatrix`, x, kernel_function)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.