Learn R Programming

vip (version 0.1.2)

vint: Interaction Effects

Description

Compute the strength of two-way interaction effects. For details, see the reference below.

Usage

vint(object, feature_names, progress = "none", parallel = FALSE,
  paropts = NULL, ...)

Arguments

object

A fitted model object (e.g., a "randomForest" object).

feature_names

Character string giving the names of the two features of interest.

progress

Character string giving the name of the progress bar to use while constructing the interaction statistics. See create_progress_bar for details. Default is "none".

parallel

Logical indicating whether or not to run partial in parallel using a backend provided by the foreach package. Default is FALSE.

paropts

List containing additional options to be passed onto foreach when parallel = TRUE.

...

Additional optional arguments to be passed onto partial.

Details

Coming soon!

References

Greenwell, B. M., Boehmke, B. C., and McCarthy, A. J.: A Simple and Effective Model-Based Variable Importance Measure. arXiv preprint arXiv:1805.04755 (2018).