Last chance! 50% off unlimited learning
Sale ends in
Generic function for plotting.
# S3 method for default
plot2d(x, ...)
# S3 method for default
lines2d(x, ...)
# S3 method for default
points2d(x, ...)
# S3 method for default
plot3D(x, display = c("persp","rgl"), ...)
an object inheriting from class snssde2d
, snssde3d
, bridgesde2d
and bridgesde3d
.
"persp"
perspective or "rgl"
plots.
other graphics parameters, see par
in package "graphics", scatterplot3d
in package "scatterplot3d" and
plot3d
in package "rgl".
A.C. Guidoum, K. Boukhetala.
The 2 and 3-dim plot of class sde.
## 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")
Run the code above in your browser using DataLab