dmodel
functionFunction to compute/extract a dmodel
function
# S3 method for glm
get_dmodel_function(object, ...)
an object of class glm
orenriched_glm
currently not used
The computed/extracted function has arguments
a data frame with observations at which to compute
densities. If missing then densities are computed at the model
frame extracted from the object (see glm
)
the regression coefficients at which the densities are computed. If missing then the maximum likelihood estimates are used
the dispersion parameter at which the densities function is computed. If missing then the maximum likelihood estimate is used
logical; if TRUE
, the logarithm of the density is
returned