mkRespMod function

Create an lmerResp, glmResp or nlsResp instance

Create an lmerResp, glmResp or nlsResp instance

mkRespMod(fr, REML = NULL, family = NULL, nlenv = NULL, nlmod = NULL, ...)

Arguments

  • fr: a model frame
  • REML: logical scalar, value of REML for an lmerResp instance
  • family: the optional glm family (glmResp only)
  • nlenv: the nonlinear model evaluation environment (nlsResp only)
  • nlmod: the nonlinear model function (nlsResp only)
  • ...: where to look for response information if fr is missing. Can contain a model response, y, offset, offset, and weights, weights.

Returns

an lmerResp or glmResp or nlsResp instance

See Also

Other utilities: findbars, mkReTrms, nlformula, nobars, subbars

  • Maintainer: Ben Bolker
  • License: GPL (>= 2)
  • Last published: 2025-03-26