Description Usage Arguments Value

This function takes the results from the balancing code and plots the distributions. Currently, it assumes all distributions are normal for simplicity.

1 | ```
plotBalancing(param1, param2, final, plotSigma = 3)
``` |

`param1` |
A vector of the "first parameter" (which, in the case of the normal distribution, is the mean). |

`param2` |
A vector of the "second parameter" (in the case of the normal distribution, the standard deviation). |

`final` |
A vector of the final/optimized values. |

`plotSigma` |
All plots have the same width (although presumably different centers) so as to show differences in widths of distributions. The width chosen for each plot is 2*plotSigma*max(param2). Thus, plotSigma = 3 implies the width of the plotting window will be wide enough to show 3 standard deviations for the widest distribution. |

No value is returned, but a plot is generated.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.