Learn R Programming

dcce (version 0.4.2)

marginaleffects_compat: marginaleffects Compatibility for dcce_fit Objects

Description

Provides S3 methods on the marginaleffects internal generics get_coef, get_vcov, get_predict, and find_predictors so that marginaleffects::avg_slopes(), marginaleffects::avg_predictions(), and marginaleffects::hypotheses() work directly on dcce_fit objects.

Arguments

Details

The methods are registered dynamically in .onLoad() if the marginaleffects package is available; this keeps the dependency in Suggests rather than Imports.