knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The firstPack package was written to illustrate R package construction.
It has just two functions. simBrM()
to simulate Brownian motion.
library(firstPack) 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.