View source: R/utils_lmnormal.R
lmScore | R Documentation |
Compute score function for linear models.
lmScore(x, y, theta)
x |
a matrix with n rows and p columns containing the explanatory variables. |
y |
a numeric vector of length n containing the response variable. |
theta |
a numeric vector of length (p+1), containing MLE of parameters in a linear model. |
Score matrix with n rows and (p+1) columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.