plot2d {Sim.DiffProc} | R Documentation |
Generic function for plotting.
## Default S3 method: plot2d(x, ...) ## Default S3 method: lines2d(x, ...) ## Default S3 method: points2d(x, ...) ## Default S3 method: plot3D(x, display = c("persp","rgl"), ...)
x |
an object inheriting from class |
display |
|
... |
other graphics parameters, see |
The 2 and 3-dim plot of class sde.
A.C. Guidoum, K. Boukhetala.
## Example 1: set.seed(1234) fx <- rep(expression(0),2) gx <- rep(expression(1),2) res <- snssde2d(drift=fx,diffusion=gx,N=10000) plot2d(res,type="l") ## Example 2: set.seed(1234) fx <- rep(expression(0),3) gx <- rep(expression(1),3) res <- snssde3d(drift=fx,diffusion=gx,N=10000) plot3D(res,display="persp") plot3D(res,display="rgl")