View source: R/plot_simulation_weight.R
plot_sim_weight | R Documentation |
Spider plot for the decision model considering the weights simulated with a Dirichlet distributions, every simulation is represented with lines, a box plot is included to account the behavior of every global utility.
plot_sim_weight(
S,
title = "Simulations",
xlab = "ID",
ylab = "Utility",
lines.cols = "blue",
box.col = "gold",
box.outlier.col = "darkred",
utility.col = "darkgreen",
utility.point.col = "darkgreen",
text.col = "black"
)
S |
first element of the simulation list produced by the function
|
title |
text for the title plot. |
xlab |
text for x-axis label. |
ylab |
text for y-axis label. |
lines.cols |
the spectrum of colors for the simulation is selected randomly from a base color. |
box.col |
color for the boxes. |
box.outlier.col |
color for the outlier points representing the extreme observations in the boxplot. |
utility.col |
the main utility value is also plotted with this specific color. |
utility.point.col |
the line of main utilities is plotted with points represented with this color. |
text.col |
color for the text values plotted for each utility. |
ggplot object with the plot of simulations.
Pedro Guarderas
sim_const_weights
sim_weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.