get_dmodel_function.glm: Function to compute/extract a 'dmodel' function

Description Usage Arguments Details

View source: R/enrich.glm.R

Description

Function to compute/extract a dmodel function

Usage

1
2
## S3 method for class 'glm'
get_dmodel_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 densities. If missing then densities are computed at the model frame extracted from the object (see glm)

coefficients

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

dispersion

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

log

logical; if TRUE, the logarithm of the density is returned


enrichwith documentation built on Nov. 17, 2017, 4 a.m.