# set global options for output images
# tidy.opts = margin cutoff point and wraps text to the next line
knitr::opts_chunk$set(fig.path = "../output/figures/", 
                      echo = FALSE, warning = FALSE, message = FALSE,
                      tidy.opts = list(width.cutoff = 72))

# set global options for knitr
knitr::opts_knit$set(progress = TRUE, verbose = TRUE)
# for knitting latex to pdf in windows
# Sys.setenv(JAVA_HOME = "C:\\Programme\\Java\\jre1.8.0_171")

source("@@name@@_do.R")

Introduction

Subsection

fig1capt <- "**This is a figure caption.**"
# plot data
#plot(p1)
# include_graphics(fig1)

Methods

Statistical analysis

Data and code availability

This paper has been written using RStudio (Version 1.1.456) and knitr (Version 1.20). All data and code are freely available online to ensure reproducibility at @@git@@.

Results

Discussion

Limitations

Conclusions

Acknowledgments

Conflict of interest

References

# r_refs(file = "r-references.bib")

\begingroup \setlength{\parindent}{-0.5in} \setlength{\leftskip}{0.5in}

\endgroup



philipphoman/represearch documentation built on July 27, 2023, 10:23 a.m.