create_list_synoptique: Create a List of Synoptic Plots Based on Different Options

View source: R/synoptique.R

create_list_synoptiqueR Documentation

Create a List of Synoptic Plots Based on Different Options

Description

Produces a list of synoptic plots, one for each set of options specified in the columns of the 'options' matrix. Each plot visualizes nodes of a decision tree based on different evaluation options.

Usage

create_list_synoptique(tree, options, depth = NA)

Arguments

tree

Tree structure object representing the decision tree.

options

matrix where each column denotes a distinct set of options for evaluating the decision tree.

depth

Optional numeric specifying the depth of the tree. If provided, a sub-tree is produced up to the specified depth. By default, it is set to NA.

Value

A list of ggplot objects. Each item in the list is a synoptic plot corresponding to a column from the 'options' matrix.

See Also

create_synoptique

Examples

tree <- dexisensitivity::masc2
options <- create_options(tree, num_options=3, seed = 42)
create_list_synoptique(tree, options)


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