The goal of paretopractice is to practice builing R package with a set of probability distribution calculation functions.
You can install paretopractice from github with:
# install.packages("devtools")
devtools::install_github("petershan1119/paretopractice")
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.