2.9 Figures and Tables

Plots created in code chucks will be automatically shown in the output, as will Tables formatted by reportRx.

Images not created by R can be inserted with this code: ![Optional Caption](filename.png)

If you need a table where the data is not in an R object you can use this (colons determine alignment):

| Right | Left | Default | Center |
|------:|:-----|---------|:------:|
|   12  |  12  |    12   |    12  |
|  123  |  123 |   123   |   123  |
|    1  |    1 |     1   |     1  |

… but that is a pain, better to have the data in R and use reportRx.