plot_sensitivity_index: Show Sensitivity Index (SI)

View source: R/sensitivity_index.R

plot_sensitivity_indexR Documentation

Show Sensitivity Index (SI)

Description

Visualizes the Sensitivity Index (SI) of the leaves of a specified decision tree using a bar plot.

Usage

plot_sensitivity_index(tree, sensitivity_indices)

Arguments

tree

Tree object for analysis.

sensitivity_indices

A numeric vector representing the Sensitivity Indices for each leaf in the decision tree.

Value

No return value; a bar plot is displayed.

Examples

tree <- dexisensitivity::masc2
sensitivity_index <- si_dexi(tree)
plot_sensitivity_index(tree, sensitivity_index[[1]])


dexisensitivity documentation built on Oct. 30, 2024, 1:08 a.m.