genBinomTest
implements a generalized binomial test for independently (not necessarily identically) distributed binomal random variables.
There are two ways to download the R-package:
- Download the whole repository with
Download ZIP
at the right side of the files list. - Go to the folder where you saved the .zip file
- Extract
genBinomTest-master.zip
- Start R (or R-Studio or whatever you use)
- Inside R: Go into the newly generated folder
genBinomTest-master
, using either the GUI or thesetwd("path\to\folder\genBinomTest-master\R")
command. (In this folder you will find the whole repository (the R-Package, the manual and all program code, if you are interested in it) - Optionally: Check with
list.files()
if you are in the right folder: You should see a file namedgenBinomTest_0.1.tar.gz
. - Install the package with
install.packages("genBinomTest_0.1.tar.gz", type = "source")
and load it afterwards withlibrary(genBinomTest)
example(genBinomTest)
will provide you with a simple example or see the manual for more information on how to use the package.
- Click on
genBinomTest_0.1.tar.gz
in the files list above - Click on
View Raw
in the center - A small dialog will ask you where you want to save the file. Remember the folder.
- Start R
- Inside R: Go to the folder which contains the downloaded file and continue with 6. from above.
To just download the manual, click on genBinomTest.pdf
and View Raw
.
- As for now, the only possibility is to download the whole repository with
Download ZIP
- Extract
genBinomTest-master.zip
- Start STATA
- Set the working directory to
\path\to\genBinomTest\stata
OR - Copy
genBinomTest.ado
andgenBinomTest.sthlp
to a folder where you keep your.ado
-files, so that it gets automatically loaded at STATA-startup
Clone the repository onto your computer, using the git clone https://github.com/zauster/genBinomTest.git
command.