get_qmodel_function.glm: Function to compute/extract a 'qmodel' function

Description Usage Arguments Details

View source: R/enrich.glm.R

Description

Function to compute/extract a qmodel function

Usage

1
2
## S3 method for class 'glm'
get_qmodel_function(object, ...)

Arguments

object

an object of class glm orenriched_glm

...

currently not used

Details

The computed/extracted function has arguments

p

a vector of probabilities with length(p) equal to nrow(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]


enrichwith documentation built on Jan. 11, 2020, 9:21 a.m.