explain: Explain individual-level model predictions

View source: R/explain.R

explainR Documentation

Explain individual-level model predictions

Description

Explain individual-level model predictions

Usage

explain(mod, x, digits = 2, top = NULL, trace = 0)

Arguments

mod

rtMod object.

x

Single-row data.frame of predictors.

digits

Integer: Number of digits to round coefficients to.

top

Integer: Number of top rules to show by absolute coefficient.

trace

Integer: If > 0, print more messages to output.

Author(s)

ED Gennatas


egenn/rtemis documentation built on Nov. 22, 2024, 4:12 a.m.