Description Usage Arguments Value
This function performs cross-validation for multivariate kernel regression and selects the optimal tuning parameter among a user-specified collection
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_seq |
Sequence of tuning parameters. |
K |
number of folds for cross-validation. |
pure |
Logical. Use the pure R version? |
... |
Extra parameters to be passed to the kernel function. |
Returns a list of kernel predictors, indexed by the different values of tau.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.