get_qmodel_function.glm {enrichwith} | R Documentation |
Function to compute/extract a qmodel
function
Description
Function to compute/extract a qmodel
function
Usage
## S3 method for class 'glm'
get_qmodel_function(object, ...)
Arguments
object |
an object of class |
... |
currently not used |
Details
The computed/extracted function has arguments
- p
a vector of probabilities with
length(p)
equal tonrow(data)
at which to evaluate quantiles- data
a data frame with observations at which to compute the quantiles. If missing then quantiles are computed at the model frame extracted from the object (see
glm
)- coefficients
the regression coefficients at which the quantiles are computed. If missing then the maximum likelihood estimates are used
- dispersion
the dispersion parameter at which the quantiles are computed. If missing then the maximum likelihood estimate is used
- log.p
logical; if
TRUE
, the logarithm of the probabilities is used- lower.tail
logical; if
TRUE
(default), probabilities are P[X <= x] otherwise, P[X > x]