e1071 (version 1.7-3)

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
# NOT RUN {
# simulate a Wiener process on [0,1] and plot it

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

Run the code above in your browser using DataCamp Workspace