Simulate a sample path of Brownian motion
rBM(times, sigma = 1, B0 = 0, u = 0)
numeric vector, of same length as times, containing the simulated value of the Brownian motion
rvBM
for a vectorized version
times <- 0:10
plot(times,rBM(times),type="b",xlab="Time",ylab="Brownian motion")