Learn R Programming

e1071 (version 1.7-7)

rbridge: Simulation of Brownian Bridge

Description

rwiener returns a time series containing a simulated realization of the Brownian bridge on the interval [0,end]. If W(t) is a Wiener process, then the Brownian bridge is defined as W(t) - t W(1).

Usage

rbridge(end = 1, frequency = 1000)

Arguments

end

the time of the last observation.

frequency

the number of observations per unit of time.

See Also

rwiener

Examples

Run this code
# NOT RUN {
# simulate a Brownian bridge on [0,1] and plot it

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

Run the code above in your browser using DataLab