show_mc_results | R Documentation |
Displays the outcomes of the Monte Carlo simulation for a specific
Node
as a bar chart, showcasing the frequency of each result.
Furthermore, the lengths of the bars are saved in a .csv file titled "MC bar
lengths.csv".
show_mc_results(node, mc_results, num_runs, save = NULL)
node |
|
mc_results |
|
num_runs |
|
save |
|
A vector
depicting the data used in the bar chart.
tree <- dexisensitivity::masc2
MC <- monte_carlo(tree, 100)
show_mc_results(tree@Nodes[[2]], MC, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.