gradient_fun | R Documentation |
Calculate the Gradient for Regression
gradient_fun(y, tXy, tXX, beta)
y |
A vector of observations |
tXy |
A vector of the transpose of design matrix X times the output data y |
tXX |
A matrix of the transpose of design matrix X times the design matrix X |
beta |
A vector of regression parameters |
The gradient vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.