Set the coefficients in a model to different values and return the modified object (internal function)
set_coef(model, coefs, ...)# S3 method for default
set_coef(model, coefs, ...)
# S3 method for polr
set_coef(model, coefs, ...)
# S3 method for glmmPQL
set_coef(model, coefs, ...)
# S3 method for afex_aov
set_coef(model, coefs, ...)
# S3 method for glimML
set_coef(model, coefs, ...)
# S3 method for betareg
set_coef(model, coefs, ...)
# S3 method for multinom
set_coef(model, coefs, ...)
# S3 method for crch
set_coef(model, coefs, ...)
# S3 method for hxlr
set_coef(model, coefs, ...)
# S3 method for gamlss
set_coef(model, coefs, ...)
# S3 method for glmmTMB
set_coef(model, coefs, ...)
# S3 method for glmx
set_coef(model, coefs, ...)
# S3 method for merMod
set_coef(model, coefs, ...)
# S3 method for lmerModLmerTest
set_coef(model, coefs, ...)
# S3 method for lmerMod
set_coef(model, coefs, ...)
# S3 method for mlm
set_coef(model, coefs, ...)
# S3 method for hurdle
set_coef(model, coefs, ...)
# S3 method for zeroinfl
set_coef(model, coefs, ...)
# S3 method for rlmerMod
set_coef(model, coefs, ...)
# S3 method for selection
set_coef(model, coefs, ...)
# S3 method for scam
set_coef(model, coefs, ...)
# S3 method for glm
set_coef(model, coefs, ...)
# S3 method for lm
set_coef(model, coefs, ...)
Model object of the same class as the model
argument, but with
different stored coefficients.
object to modify
vector of coefficients to insert in the model object
To compute the variance of marginal effects we need to take the Jacobian with