Calculate average marginal effects from a fitted model object.
# S3 method for lmerMod smargins(model, ..., n = 1000)
model | A fitted model object. |
---|---|
... | Named values to set predictor variables to. |
n | Number of simulations to run. |
A data.frame containing predictor variables values and expected values of the dependant variable.