glm.grad | R Documentation |
Gradient for GLM
glm.grad(x, y, theta, idx, family)
x |
A matrix containing the covariates (including an intercept if one wants to use one). |
y |
The dependent variable. |
theta |
The coefficient vector to use. |
idx |
The observation indices to use. |
family |
A glm family for the distribution to use, i.e. "binomial()". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.