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 tobit
set_coef(model, coefs, ...)
# S3 method for polr
set_coef(model, coefs, ...)
# S3 method for glmmPQL
set_coef(model, coefs, ...)
# S3 method for hetprob
set_coef(model, coefs, ...)
# S3 method for ivpml
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 data.frame
set_coef(model, coefs, ...)
# S3 method for flexsurvreg
set_coef(model, coefs, ...)
# S3 method for gamlss
set_coef(model, coefs, ...)
# S3 method for glmmTMB
set_coef(model, coefs, ...)
# S3 method for glmgee
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 lme
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 stpm2
set_coef(model, coefs, ...)
# S3 method for pstpm2
set_coef(model, coefs, ...)
# S3 method for gsm
set_coef(model, coefs, ...)
# S3 method for aft
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, ...)
# S3 method for nls
set_coef(model, coefs, ...)
# S3 method for svyolr
set_coef(model, coefs, ...)
# S3 method for survreg
set_coef(model, coefs, ...)
# S3 method for model_fit
set_coef(model, coefs, ...)
# S3 method for workflow
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