simBM: simBM

Description Usage Arguments Details Value Author(s) Examples

Description

Generate and Plot Brownian Motion

Usage

1
simBM(vector_size, dim, seed)

Arguments

vector_size

a positive integer value for the number of brownian motion points

dim

=1,2 for the dimension of Brownian Motion. Default = 1

seed

an integer value to seed the brownian motion. Default no seed

Details

This function generates and plots 1-D and 2-D Brownian motion

Value

a numeric vector of stages of Brownian motion dimensions vector_size x dim

Author(s)

Atul Deshpande

Examples

1
2
simBM(3,1,1)
simBM(300,2)

atuldeshpande/simBM documentation built on May 10, 2019, 2:13 p.m.