sim1dBM: 1-dimension Brownian motion simulation

Description Usage Arguments Details Value Author(s) Examples

Description

Simulate 1-dimension Brownian motion

Usage

1
sim1dBM(n, sigma = 1)

Arguments

n

Number of points to simulate(must be larger than 1 point)

sigma

The standard deviation of the step

Details

Simulate 1-dimension Brownian motion

Value

A vector showing the Brownian motion

Author(s)

Ye Zheng

Examples

1
x <- sim1dBM(1000, 2)

yzheng74/brownianMotion documentation built on May 4, 2019, 8:47 p.m.