R package to simulate and plot Brownian motion, written to illustrate R package development.
Install with the devtools package:
devtools::install_github("ehyaei/firstPack")
Use simBrM()
to simulate and plotBrM()
to plot the result.
library(firstPack)
x <- simBrM(1000)
plotBrM(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.