Learn R Programming

e1071 (version 1.6-7)

rwiener: Simulation of Wiener Process

Description

rwiener returns a time series containing a simulated realization of the Wiener process on the interval [0,end]

Usage

rwiener(end = 1, frequency = 1000)

Arguments

end
the time of the last observation.
frequency
the number of observations per unit of time.

Examples

Run this code
# simulate a Wiener process on [0,1] and plot it

x <- rwiener()
plot(x,type="l")

Run the code above in your browser using DataLab