get_pmodel_function.glm {enrichwith}R Documentation

Function to compute/extract a pmodel function

Description

Function to compute/extract a pmodel function

Usage

## 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]


[Package enrichwith version 0.3.1 Index]