cvGrace | R Documentation |
Function to perform cross-validation for Grace from 'Grace' r package
cvGrace(X, Y, L, lambda.L, lambda.1, lambda.2, K = 10)
X |
standardized n (number of rows) by p (number of columns) design matrix. |
Y |
n by 1 vector of the response variable. |
L |
p by p symmetric matrix of the penalty weight matrix. |
lambda.L |
tuning parameters of the penalty weight matrix. |
lambda.1 |
tuning parameters of the L_1 penalty. |
lambda.2 |
tuning parameters of the ridge penalty. |
K |
number of folds in cross-validation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.