plot-pdmpModel | R Documentation |
This method plots single simulations of
piecewise deterministic markov processes defined as
pdmpModel
. There are also other plot
methods available that use ggplot2.
## S3 method for class 'pdmpModel'
plot(x, y, ggplot = FALSE, ...)
## S4 method for signature 'pdmpModel,missing'
plot(x, y, ggplot = FALSE, ...)
x |
an object of class pdmpModel with a simulation
stored in slot |
y |
ignored |
ggplot |
boolean variable. If TRUE, a different plot will be created that uses package ggplot2. |
... |
optional parameters to plot method |
plotSeeds
for another plot function
to plot single simulations
data("toggleSwitch")
sim <- sim(toggleSwitch, seed = 1)
plot(sim, col = "red", lwd = 2)
plot(sim, ggplot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.