shapviz.mid()
is a S3 method of shapviz::shapviz()
for the fitted MID models.
Arguments
- object
a "mid" object.
- data
a data frame containing observations for which SHAP values are calculated. If not passed, data is extracted from
parent.env()
based on the function call of the "mid" object.