show_scenario {dexisensitivity} | R Documentation |
Plot a Bar Chart for a Single Scenario
Description
Visualizes the attribute values of a provided scenario. For each attribute, a bar is plotted, and the maximum possible value is highlighted.
Usage
show_scenario(scenario, tree, label_y = TRUE, modify_par = TRUE)
Arguments
scenario |
Scenario data to visualize. |
tree |
Associated |
label_y |
|
modify_par |
|
Value
No return value, called for side effects
See Also
Examples
tree <- dexisensitivity::masc2
option <- create_options(tree, num_options=1, seed = 42)
scenario <- evaluate_scenario(tree, option)
show_scenario(as.matrix(scenario), tree = tree, label_y = TRUE)
[Package dexisensitivity version 1.0.0 Index]