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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.