plot | R Documentation |
This method plots multiple simulations of PDMPs. Values of the continous variables are plotted in a 2d heatmap whereas values of discrete variables are plotted as functions.
## S3 method for class 'multSimData'
plot(
x,
title = NULL,
subtitle = NULL,
discPlot = "smooth",
contPlot = "bin2d",
...
)
## S3 method for class 'multSim'
plot(x, title, subtitle, ...)
x |
an object of class |
title |
title of the plot |
subtitle |
subtitle of the plot |
discPlot |
character vector determining the type of the plot for the discrete variables. Possible values are 'line' standing for geom_line and 'smooth' standing for geom_smooth. Defaults to 'smooth'. |
contPlot |
character vector determining the type of the plot for the continous variables. Possible values are 'bin2d' standing for geom_bin2d and 'density_2d' standing for geom_density_2d. Defaults to 'bin2d'. |
... |
optional parameters to geom_bin2d resp. geom_density_2d and geom_line resp. geom_smooth |
plotSeeds
, plotTimes
,
plotStats
, hist
and density
for other plot functions
data("simplePdmp")
ms <- multSim(simplePdmp, 1:20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.