Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 923 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 923 Bytes

Here are two of the EGAP methods guides. The prettiest looking HTML comes from using the render function from the rmarkdown package within R. Before trying to compile these documents, you will need to have installed the R packages in thepkgs and then you can convert the R markdown to html. For example, you could do the following to get the Cluster Randomized Design Guide to build (be prepared to wait an hour or so).

thepkgs<-c("AER","CausalGAM","ICC","RItools","lme4","lmtest","mediation","parallel","quantreg","sandwich","rmarkdown","knitr")
install.packages(thepkgs,dependencies=TRUE)

library(rmarkdown)
render("ClusterRandomEGAP.Rmd")

Alternatively, if you have pandoc and a Unix environment (like Mac OS X), you can use the scripts that we include.


./knit2html.sh ClusterRandomEGAP

./knit2html.sh EgapOutline