Description Usage Arguments Note Examples
This method plots the simulation for every seed in the input. Continous variables are plotted as line plots, discrete variables in a stacked barplot beneath. The plot is created with ggplot2 and can be modified afterwards.
1 2 3 4 5 6 7 |
x |
object of class |
seeds |
vector with seed numbers to plot. This is optional if |
... |
additional arguments, currently not used. |
ylim |
a length-2 numeric defining the scale of the y-axis. |
A maximal number of 4 seeds can be plotted. The method requires the package tidyr.
1 2 3 4 | data("toggleSwitch")
msim <- multSim(toggleSwitch, seeds = 1:2)
plotSeeds(msim)
plotSeeds(msim, seeds = 1) + ggplot2::facet_grid(variable ~ seed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.