an object inheriting from class snssde2d, snssde3d, bridgesde2d and bridgesde3d.
display
"persp" perspective or "rgl" plots.
...
other graphics parameters, see par in package "graphics".
Details
The 2 and 3-dim plot of class sde.
Author(s)
A.C. Guidoum, K. Boukhetala.
Examples
## Example 1:
set.seed(1234)
fx <- expression(0)
gx <- expression(1)
fy <- expression(0)
gy <- expression(1)
res <- snssde2d(driftx=fx,diffx=gx,drifty=fy,diffy=gy,N=10000)
plot2d(res,type="l")
## Example 2:
set.seed(1234)
fx <- expression(0)
gx <- expression(1)
fy <- expression(0)
gy <- expression(1)
fz <- expression(0)
gz <- expression(1)
res <- snssde3d(driftx=fx,diffx=gx,drifty=fy,diffy=gy,driftz=fz,diffz=gz,N=10000)
plot3D(res,display="persp")
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Sim.DiffProc)
Package 'Sim.DiffProc' version 3.2 loaded.
help(Sim.DiffProc) for summary information.
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Sim.DiffProc/plot2d.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot2d
> ### Title: Plotting for Class SDE
> ### Aliases: plot2d lines2d points2d plot3D plot2d.default lines2d.default
> ### points2d.default plot3D.default
>
> ### ** Examples
>
> ## Example 1:
> set.seed(1234)
>
> fx <- expression(0)
> gx <- expression(1)
> fy <- expression(0)
> gy <- expression(1)
>
> res <- snssde2d(driftx=fx,diffx=gx,drifty=fy,diffy=gy,N=10000)
> plot2d(res,type="l")
>
> ## Example 2:
> set.seed(1234)
>
> fx <- expression(0)
> gx <- expression(1)
> fy <- expression(0)
> gy <- expression(1)
> fz <- expression(0)
> gz <- expression(1)
>
> res <- snssde3d(driftx=fx,diffx=gx,drifty=fy,diffy=gy,driftz=fz,diffz=gz,N=10000)
> plot3D(res,display="persp")
>
>
>
>
>
> dev.off()
null device
1
>