Description Usage Arguments Value
This function performs cross-validation for multivariate kernel regression
1 2 3 |
response |
matrix of response variables |
covariate |
matrix of covariate variables, which are included in the kernel. |
confounder |
matrix or data.frame of confounder variables, which are not included in the kernel. |
kernel |
Type of kernel to use. |
intercept |
Should we include an intercept? |
tau |
Tuning parameter. |
K |
number of folds for cross-validation. |
pure |
Logical. Use the pure R version? |
... |
Extra parameters to be passed to the kernel function. |
Returns the estimated prediction error, as well as a separate value for each fold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.