Install epicalc in R


Since epicalc was removed from the CRAN repos and replaced (seems to) by epiDisplay.(see http://stackoverflow.com/questions/32316360/why-was-package-epicalc-removed-from-cran) 
here is an alternative way to install in R (copy and paste)

# Download package tarball from CRAN archive and install Epicalc
download.file(url = "http://cran.r-project.org/src/contrib/Archive/epicalc/epicalc_2.15.1.0.tar.gz", destfile = "epicalc_2.15.1.0.tar.gz")
install.packages(pkgs="epicalc_2.15.1.0.tar.gz", type="source", repos=NULL)
unlink("epicalc_2.15.1.0.tar.gz")