Learn R Programming

marginaleffects (version 0.29.0)

marginaleffects_internal-class: Internal S4 class for marginaleffects

Description

This S4 class is used internally to hold common arguments passed between functions to simplify the function signatures and reduce redundant argument passing.

Arguments

Slots

by

Aggregation/grouping specification

byfun

Function for aggregation when using by

call

The original function call

calling_function

The name of the calling function (comparisons, predictions, hypotheses)

comparison

Comparison function specification

cross

Boolean flag for cross-contrasts

df

The degrees of freedom

eps

Epsilon value for numerical derivatives

jacobian

The jacobian matrix or NULL

model

The fitted model object

modeldata

The model data frame

newdata

The new data frame for predictions

type

The sanitized type from sanitize_type()

vcov_model

The variance-covariance matrix

wts

The weights specification