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

firstPack

Travis build status

firstPack

R package to simulate and plot Brownian motion, written to illustrate R package development.

Installation

Install with the devtools package:

devtools::install_github("ehyaei/firstPack")

Example

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

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


ehyaei/firstPack documentation built on Jan. 1, 2021, 12:15 a.m.