This repository contains the code, text, and results for the manuscript describing the hesim
R
package. A replication file titled replication.R
can be obtained with:
knitr::purl(input = "manuscript.rnw", output = "replication.R")
HTML output from a better commented version of this replication file can be viewed here. Package dependencies are managed with the renv
package. You can install all R
packages used in the replication file with:
renv::restore()
The PDF version of the manuscript can be compiled by running:
knitr::knit2pdf(input = "manuscript.rnw", output = "manuscript.tex",
compiler = "pdflatex")
You may alternatively use the "Compile PDF" button within RStudio after modifying Project Options -> Sweave so that you weave PDF files with knitr and typeset LaTeX into PDF with pdfLaTeX (you may also modify the Global Options).