knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

The simBrM package was written to illustrate R package construction for my Advanced Data Analysis course.

It has just two functions. simBrM() to simulate Brownian motion.

library(simBrM)
x <- simBrM(1000)

Plus plotBrM() to plot the result.

plotBrM(x)


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