Skip to content

knudson1/WiADS2020

Repository files navigation

MyFirstPackage

The goal of MyFirstPackage is to accompany the talk by Dietz & Knudson at the Minneanalytics Women in Analytics and Data Science conference held on October 30, 2020.

Installation

You can install the development version of MyFirstPackage from GitHub with:

# install.packages("devtools")
devtools::install_github("knudson1/WiADS2020", build_vignettes = TRUE)

Talk Slides

After installing, you can access the slides using the following code:

library(MyFirstPackage)
vignette("WiADS_Slides")

You can also get there directly using the link: https://github.com/knudson1/WiADS2020/blob/master/doc/WiADS_Slides.pdf

Example

This is an example of the two functions included in this package:

library(MyFirstPackage)

#Calculate effective sample size
minESS(p = 2, alpha = 0.05, epsilon = 0.05)
#> [1] 7529

#Calculate target PSRF using 5 chains
target_psrf(m = 5, p = 2, alpha = 0.05, epsilon = 0.05)
#> $psrf
#> [1] 1.000332
#> 
#> $epsilon
#> [1] 0.05

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages