loadScenarios | R Documentation |
This function loads scenarios saved with saveScenarios
loadScenarios(scenario_numbers, load_path = tempdir())
scenario_numbers |
A vector of integers naming the scenario to be loaded |
load_path |
A string for the directory where the scenarios are being stored,
Default: |
Returns an object of class scenario_list
Stephan Wojciekowski
simulateScenarios
saveScenarios
tempfile
scenarios_list <- simulateScenarios( n_subjects_list = list(c(10, 20, 30)), response_rates_list = list(rep(0.9, 3)), n_trials = 10) save_info <- saveScenarios(scenarios_list) scenarios_list <- loadScenarios(scenario_numbers = save_info$scenario_numbers, load_path = save_info$path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.