Description Usage Arguments Details Value
Plot the results of a Gaussian graphical model experiment
Plot a comparison of the results of different Gaussian graphical model experiments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | plot_experiment(
p,
d,
r,
N,
map = function(x) { return(x) },
reduce,
show_sd = FALSE,
ename,
plot_title = "",
plot_ylab = "",
...
)
plot_comparison(
p,
d,
r,
N,
map = function(x) { return(x) },
reduce,
ename,
show_sd = FALSE,
plot_title = "",
plot_ylab = "",
...
)
|
p |
Vector of dimensions that have been tested. |
d |
Vector of densities that have been tested. |
r |
Number of replications for the experiment. |
N |
Vector of number of samples obtained in each atomic experiment. |
map |
Function that will map the values obtained from each atomic experiment for each sample. |
reduce |
Function that will reduce the previously mapped results from each sample, yielding a single value for each atomic experiment. |
show_sd |
Whether to show the standard deviation for 'map' function. |
ename |
Name of the atomic experiment that has been executed, for [plot_experiment()], or vector of atomic experiments to compare in the case of [plot_comparison()] |
plot_title |
Optional title for the plot. |
plot_ylab |
Optional text for the Y values. |
... |
Additional arguments for 'map'. |
Function [plot_experiment()] plots the results from a previously executed experiment related to a Gaussian graphical model. It expects the results stored in the same format as [excute()] stores them.
Function [plot_comparison()] is similar to [plot_experiment()], but instead of focusing on all the results of a single experiment, it compares the results over several experiments in a fixed scenario. Therefore, either 'p' or 'd' must be a scalar, and the 'X' axis in the generated plot will range over the values of the one that is a vector.
The generated plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.