README.md

paretopractice

The goal of paretopractice is to practice builing R package with a set of probability distribution calculation functions.

Installation

You can install paretopractice from github with:

# install.packages("devtools")
devtools::install_github("petershan1119/paretopractice")

Example

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

library(paretopractice)
my_sample <- rgamma(100, shape=2, scale=4)
mom_gamma(my_sample)
#> $k_hat
#> [1] 2.020066
#> 
#> $theta_hat
#> [1] 3.766173


petershan1119/paretopractice documentation built on May 31, 2019, 12:12 p.m.