Description Usage Arguments Details Value
Model fit function for the ml_diag
function.
1 |
y |
Dependent variable used in the model. |
yhat |
Predictions of the dependent variable. |
type |
Character string giving the type of model used (currently only binomial and gaussian are supported). |
Returns either the square correlation between the dependent variable and its predictions or the expected proportional reduction in error if the model is a binomial GLM.
A scalar giving the model fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.