Each journal will have its own particular format. This repository makes no judgements, but at the same time recommends kniting to PDF first. There will be formatting weirdness especially around images not quite being in the correct place. Ignore these. There will be plenty of time to move things up or down a little after all the other work is done. Do this so you know both if the document won't knot at all and defer all the arguments around positioning untill it is really necessary. A lot of information on creating a properly formatted PFD can be found here and here.
Below can be found the necessary steps to re-generate the paper from the raw .rmd
s.
If re-generation of the results is also desired, please refer to the instruction in the code readme.
All the results, tables, and figures should be stored in the ./results
folder so the regeneration of the paper should be very fast.
- Double click on
index.rmd file
- Click knit
The packages listed here should be limited to the ones needed to knit the paper, not ones you used in the analysis. The boiler plate ones below are usually enough.
The paper itself needs bookdown
and kableExtra
in addtion to the packages used in the analysis.
Install them as below.
install.packages('rmarkdown')
install.packages('kableExtra')
install.packages('bookdown')
install.packages('tinytex')
tinytex::install_tinytex()