R/linkLin.glm.R

Defines functions linkLin.glm

linkLin.glm <- function(model, smooth = TRUE, xlab, ylab, main, pch, lcol, lwd, ...) {
  eta <- model$linear.predictor
  wres <- residuals(model, type = "working")
  zeta <- eta + wres
  link.name <- model$family$link
  linkLin_plot(zeta, eta, smooth = smooth, xlab, ylab, main, pch, lcol, lwd, link.name, ...)
  
}

Try the glmxdiag package in your browser

Any scripts or data that you put into this service are public.

glmxdiag documentation built on Jan. 10, 2022, 9:07 a.m.