knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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.