.calculate_residuals | R Documentation |
Calculate residuals based on the specified type
.calculate_residuals(y_obs, fitted_vals, param_mat, type, family)
y_obs |
Vector of observed values |
fitted_vals |
Vector of fitted values |
param_mat |
Matrix of calculated parameters |
type |
Character string specifying residual type |
family |
Character string specifying distribution family |
A vector of residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.