get_pmodel_function.glm: Function to compute/extract a 'pmodel' function

Description Usage Arguments Details

View source: R/enrich.glm.R

Description

Function to compute/extract a pmodel function

Usage

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

Arguments

object

an object of class glm orenriched_glm

...

currently not used

Details

The computed/extracted function has arguments

data

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)

coefficients

the regression coefficients at which the distribution function are computed. If missing then the maximum likelihood estimates are used

dispersion

the dispersion parameter at which the distribution function is computed. If missing then the maximum likelihood estimate is used

log.p

logical; if TRUE, the logarithm of the distribution function is returned

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.