As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [rmarkdown]

Rmarkdown is a lightweight markup language with plain-text-formatting syntax. Its a variant of markdown syntax that allow inclusion of chunks of R code through knitr. The documents can be exported with pandoc to LaTeX, PDF (via LaTeX), Word, or HTML formats showing the output of R chunks (and/or de R code) including plots and tables.

Filter by
Sorted by
Tagged with
1 vote
1 answer
939 views

Tikz in RMarkdown

I have a diagram rendered using tikz and would like to include it at multiple places throughout my document. I have tried to define a command to insert this into the tikz environment, however I'm not ...
Michael Barrowman's user avatar
1 vote
1 answer
326 views

How to replace all : with * or x in an ANOVA table?

I am using bookdown::pdf_document2. Some journals require all the interaction terms to be formatted as Term A * Term B or Term A x Term B, not Term A : Term B as default in the R's ANOVA table. ...
hnguyen's user avatar
  • 115
0 votes
0 answers
504 views

LaTeX citation in R Markdown [duplicate]

With a bib.bib file: @article{mycite, title = {title}, author = {author name}, pages = {45-50}, year = {2020}, url = {https://example.com} } and an index.rmd file like this: --- title: ...
simohamed's user avatar