Tag Archives: Rmarkdown

Tools for a reproducible manuscript

It is all too easy to make a mistake putting a manuscript together: mistranscribe a number, forget to rerun some analyses after the data are revised, or simply bodge the round some numbers. Fortunately it is possible to avoid these … Continue reading

Posted in reproducible research | Tagged | 3 Comments

Insist() on the text and numbers agree in Rmarkdown

The manuscript I submitted a long time ago contains multiple sentences where I describe the result with both text and numbers. For example: With a three-year moving average, the correlation is weak (r = 0.21) and not statistically significant (p … Continue reading

Posted in R, reproducible research | Tagged | Leave a comment