plot: Plot a 2d heatmap for multiple simulations of PDMPs

Description Usage Arguments See Also Examples

Description

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.

Usage

1
2
3
4
5
6
## S3 method for class 'multSimData'
plot(x, title = NULL, subtitle = NULL,
  discPlot = "smooth", contPlot = "bin2d", ...)

## S3 method for class 'multSim'
plot(x, title, subtitle, ...)

Arguments

x

an object of class multSim or multSimData

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

See Also

plotSeeds, plotTimes, plotStats, hist and density for other plot functions

Examples

1
2
data("simplePdmp")
ms <- multSim(simplePdmp, 1:20)

CharlotteJana/pdmpsim documentation built on July 2, 2019, 5:37 a.m.