save_scenarios: Save Evaluation Results of Scenarios to a File

View source: R/option.R

save_scenariosR Documentation

Save Evaluation Results of Scenarios to a File

Description

Stores the results of scenario evaluations into a file for later analysis.

Usage

save_scenarios(scenarios_results, file_name)

Arguments

scenarios_results

List of numeric vectors with scenario evaluation results.

file_name

A character, to name the file for saving the scenario results.

Value

No return value, called for side effects

Examples

tree <- dexisensitivity::masc2
option <- create_options(tree, num_options=3, seed = 42)
scenarios <- evaluate_scenarios(tree, option)
save_scenarios(scenarios,paste0(tempdir(),"\\save_scenarios.tab"))
file.remove(paste0(tempdir(),"\\save_scenarios.tab"))


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