README.md

decayr

The goal of decayr is to demonstrate the use of a niche gaussian decay function, for the purposes of demonstrating how to use GitHub when making an R package.

Installation

You can install decayr from github with:

# install.packages("devtools")
devtools::install_github("njtierney/decayr")

Example

This is a basic example which shows you how to solve a common problem:

library(decayr)

gauss_decay(d_kj = 99,
            d_0 = 100)
#> [1] 0.01541443

gauss_decay(d_kj = 1,
            d_0 = 100)
#> [1] 0.9998729


njtierney/decayr documentation built on May 6, 2019, 6:01 p.m.