Constructor for marginaleffects_internal class
new_marginaleffects_internal(
model,
call,
by = FALSE,
byfun = NULL,
comparison = NULL,
conf_level = 0.95,
cross = FALSE,
df = NULL,
draws = NULL,
draws_chains = 0,
eps = NULL,
hypothesis = NULL,
hypothesis_null = NULL,
hypothesis_direction = NULL,
jacobian = NULL,
modeldata = NULL,
numderiv = list("fdforward"),
type = NULL,
variables = list(),
variable_names_by = character(),
variable_names_by_hypothesis = character(),
vcov_model = NULL,
vcov_type = NULL,
wts = NULL
)
An object of class marginaleffects_internal
The fitted model object (required)
The original function call (required)
The degrees of freedom
The sanitized type from sanitize_type()
The variance-covariance matrix
The weights specification