\FloatBarrier
This file just produces a list of R and R package citations so that we can give appropriate credit to the many people who developed or contributed to the software we relied on in doing this work. It's a separate file so that we can reduce redundancy across other PDF files produced by the various scripts.
Version numbers in citations will be consistent with those used in other scripts if you knit this document from the same computer used for knitting those other scripts. Do that immediately after knitting all the other scripts.
\FloatBarrier
Set global R chunk options (local chunk options will over-ride global options).
The method for creating a size option that controls font size in code chunks and
their text output is based on an answer to a question posted on
stackoverflow.com.
``` {r global_options, cfsize = "footnotesize"}
def.chunk.hook <- knitr::knit_hooks$get("chunk") knitr::knit_hooks$set(chunk = function(x, options) { x <- def.chunk.hook(x, options) ifelse(options$cfsize != "normalsize", paste0("\n \", options$cfsize,"\n\n", x, "\n\n \normalsize"), x) })
knitr::opts_chunk$set(include = TRUE, echo = TRUE, error = TRUE, message = TRUE, warning = TRUE, cfsize = "footnotesize")
here::i_am(path = "inst/R_Citations.Rmd")
Load R packages that we need to get additional functions. ``` {r load_packages} library(here) # for here() library(rmarkdown) # for render() library(SSACHR) # for git_report(), which_latex()
\FloatBarrier
These materials are scholarly products based on research funded by the following grant.
Campbell, R., Pierce, S. J., & Sharma, D. (2015–2018). Serial sexual assaults: A longitudinal examination of offending patterns using DNA evidence. (NIJ Award # 2014-NE-BX-0006) [Grant]. National Institute of Justice.
\FloatBarrier
We use R Markdown to enhance reproducibility. Knitting the source R Markdown
script r knitr:::current_input()
generates this PDF file.
r pandoc_version()
for this
document. This document was generated using the following computational environment and dependencies:
``` {r show_citations}
which_latex()
citation()
citation("assertthat") citation("car") citation("descr") citation("devtools") citation("dplyr") citation("emmeans") citation("geepack") citation("git2r") citation("ggdist") citation("ggplot2") citation("haven") citation("here") citation("kableExtra") citation("knitr") citation("lattice") citation("latticeExtra") citation("lubridate") citation("plyr") citation("psych") citation("rmarkdown") citation("RColorBrewer") citation("sjlabelled") citation("SSACHR") citation("texreg") citation("tinytex") citation("tidyr") citation("utils") citation("vistime")
The current Git commit details and status are: ```r git_report()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.