get_deviance | R Documentation |
Get the deviance for a model
get_deviance(beta, x, y, family)
beta |
The vector of coefficients |
y |
The dependent variable |
family |
A glm family for the distribution to use, i.e. "binomial()" |
X |
A matrix containing the covariates (including an intercept if one wants to use one) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.