Last data update: 2014.03.03

R: Fractional Brownian field simulation by the midpoint...
midpointR Documentation

Fractional Brownian field simulation by the midpoint displacement method

Description

The function midpoint yields simulation of sample path of a fractional Brownian field by the midpoint displacement method.

Usage

midpoint(process)

Arguments

process

an object of class process (namely an FBm).

Details

The subspace [0,1] x [0,1] is discretized in a regular space discretization of size (2^{code{nblevel}}+1)^2. At each point of the grid, the fractional Brownian field is simulated using the midpoint displacement method described for example in Fournier et al. (1982).

Value

an object of class process with the simulated sample path in the corresponding slot values.

Author(s)

Alexandre Brouste (http://perso.univ-lemans.fr/~abrouste/) and Sophie Lambert-Lacroix (http://membres-timc.imag.fr/Sophie.Lambert/).

References

A. Fournier, D. Fussel and L. Carpenter (1982) Computer rendering of stochastic model, Communication of the AMC, 25, 371-384.

H.O. Peitgen and D. Saupe (1998) The science of fractal images, Springer-Verlag.

R.F. Voss (1985) Random fractal forgeries. NATO ASI Series, F17, 805-835.

See Also

fieldsim.

Examples

# load FieldSim library
library(FieldSim)

plane.fBm<-setProcess("fBm-plane",0.9)
midpoint(plane.fBm)
plot(plane.fBm)

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(FieldSim)
Loading required package: rgl
Loading required package: RColorBrewer
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/FieldSim/midpoint.Rd_%03d_medium.png", width=480, height=480)
> ### Name: midpoint
> ### Title: Fractional Brownian field simulation by the midpoint
> ###   displacement method
> ### Aliases: midpoint
> 
> ### ** Examples
> 
> # load FieldSim library
> library(FieldSim)
> 
> plane.fBm<-setProcess("fBm-plane",0.9)
> midpoint(plane.fBm)
> plot(plane.fBm)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>