HOME | BLOG | TAGS | ABOUT

R: Automated Reports with RMarkdown

written by Robin Schubert on 2018-06-11 | Tags: r, science

Plotting data, applying statistical models and scanning through big tables with loads of variables is what I have to deal with in my everyday life. This is my collection of tips and snippets that I spent much time on browsing the web for and many hours of trial and error.

What is R Markdown

Available Backends

The Problem with Automation

formula = vital_parameter ~ visit * treatment + (1|subject_id)

formula = as.formula(
  paste(
    variable_parameter, "~ visit * treatment + (1|subject_id)"
  )
)

Single, Static, Beautiful?

Many, Dynamic, Messy

Creative Commons License