plot2d {Sim.DiffProc}R Documentation

Plotting for Class SDE

Description

Generic function for plotting.

Usage

## Default S3 method:
plot2d(x, ...)
## Default S3 method:
lines2d(x, ...)
## Default S3 method:
points2d(x, ...)
## Default S3 method:
plot3D(x, display = c("persp","rgl"), ...)

Arguments

x

an object inheriting from class snssde2d, snssde3d, bridgesde2d and bridgesde3d.

display

"persp" perspective or "rgl" plots.

...

other graphics parameters, see par in package "graphics", scatterplot3d in package "scatterplot3d" and plot3d in package "rgl".

Details

The 2 and 3-dim plot of class sde.

Author(s)

A.C. Guidoum, K. Boukhetala.

Examples

## Example 1: 
set.seed(1234)

fx <- rep(expression(0),2)
gx <- rep(expression(1),2)

res <- snssde2d(drift=fx,diffusion=gx,N=5000)
plot2d(res,type="l")

[Package Sim.DiffProc version 4.9 Index]