Learn R Programming

marginaleffects (version 0.29.0)

new_marginaleffects_internal: Constructor for marginaleffects_internal class

Description

Constructor for marginaleffects_internal class

Usage

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
)

Value

An object of class marginaleffects_internal

Arguments

model

The fitted model object (required)

call

The original function call (required)

df

The degrees of freedom

type

The sanitized type from sanitize_type()

vcov_model

The variance-covariance matrix

wts

The weights specification