pmodel
functionFunction to compute/extract a pmodel
function
# S3 method for glm
get_pmodel_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 the
distribution function. If missing then probabilities are computed
at the model frame extracted from the object (see
glm
)
the regression coefficients at which the distribution function are computed. If missing then the maximum likelihood estimates are used
the dispersion parameter at which the distribution function is computed. If missing then the maximum likelihood estimate is used
logical; if TRUE
, the logarithm of the
distribution function is returned
logical; if TRUE
(default), probabilities
are P[X <= x] otherwise, P[X > x]