| get_dmodel_function.glm {enrichwith} | R Documentation |
Function to compute/extract a dmodel function
Description
Function to compute/extract a dmodel function
Usage
## S3 method for class 'glm'
get_dmodel_function(object, ...)
Arguments
object |
an object of class |
... |
currently not used |
Details
The computed/extracted function has arguments
- data
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)- coefficients
the regression coefficients at which the densities are computed. If missing then the maximum likelihood estimates are used
- dispersion
the dispersion parameter at which the densities function is computed. If missing then the maximum likelihood estimate is used
- log
logical; if
TRUE, the logarithm of the density is returned
[Package enrichwith version 0.3.1 Index]