README.md

simBrM

R package to simulate and plot Brownian motion, written to illustrate R package development, as part of the course Advanced Data Analysis.

Installation

Install with the devtools package:

devtools::install_github("kbroman/simBrM")

Example

Use simBrM() to simulate and plotBrM() to plot the result.

library(simBrM)
x <- simBrM(1000)
plotBrM(x)


kbroman/simBrM documentation built on March 27, 2020, 7:21 p.m.