xtycovDS | R Documentation |
Lambda max corresponds to the lambda for which all beta are equal to 0, except for covariate betas, which fully vary
xtycovDS(x, y, covar, type, betaCov)
x |
One matrix for multiplication |
y |
The other matrix for multiplication |
covar |
Positions corresponding to adjusting covariates in the X dataset |
type |
regress or classify |
betaCov |
estimated beta coefficients from a linear model including only covariates as predictors |
This was used to estimate the maximum \lambda
The result matrix
Han Cao & Augusto Anguita-Ruiz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.