saveAnalyses | R Documentation |
This function saves an object of class analysis_list
saveAnalyses(analyses_list, save_path = tempdir(), analysis_numbers = NULL)
analyses_list |
An object of class |
save_path |
A string for the path where the scenarios are being stored,
Default: |
analysis_numbers |
A positive integer naming the analysis number.
If |
A named list of length 3 of vectors with scenario and analysis numbers and
the save_path
Stephan Wojciekowski
performAnalyses
loadAnalyses
tempfile
trial_data <- createTrial( n_subjects = c(10, 20, 30), n_responders = c(1, 2, 3)) analysis_list <- performAnalyses( scenario_list = trial_data, target_rates = rep(0.5, 3), n_mcmc_iterations = 100) save_info <- saveAnalyses(analysis_list) analysis_list <- loadAnalyses(scenario_numbers = save_info$scenario_numbers, analysis_numbers = save_info$analysis_numbers, load_path = save_info$path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.