View source: R/matrix_multiplication.R
compute_Xty | R Documentation |
Computes t(standardized.X)%*%y using sparse multiplication trick
compute_Xty(X, y)
X |
an n by p unstandardized matrix with three attributes: scaled:center, scaled:scale, and attr(X, 'd') |
y |
an n vector |
a p vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.