grid.gen | R Documentation |
grid.gen: generate grid for cross-validation function. For internal package use only.
grid.gen( y, p, study = NA, lambda_1 = TRUE, lambda_2 = FALSE, lambda_z = TRUE, commonSupp = FALSE, multiTask = TRUE )
y |
A numeric vector or matrix of outcomes |
p |
An integer of covariate dimension |
study |
An integer vector of task IDs |
lambda_1 |
A boolean |
lambda_2 |
A boolean |
lambda_z |
A boolean |
commonSupp |
A boolean |
multiTask |
A boolean |
A dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.