View source: R/kernel_functions.R
| compute_gram_matrix | R Documentation | 
Computes the Gram Matrix for a user-specified kernel using the library kernlab. Note that 
this function automatically standardizes the columns of the data entered.
compute_gram_matrix(X, kernel_type, params = c())
| X | The design matrix with $n$ rows (one for each subject) and $p$ columns (one for each measurement on the subject). This is the design matrix you wish to search for a more optimal design. | 
| kernel_type | One of the following: "vanilla", "rbf", "poly", "tanh", "bessel", "laplace", "anova" or "spline". | 
| params | A vector of numeric parameters. Each  | 
The n x n gram matrix for the given kernel on the given data.
Adam Kapelner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.