---title: 2019 R-Medicine Conference Day 1author: 'Mara Alexeev'date: 2019-09-12date-modified: '`r Sys.Date()`'categories: [R]draft: falsedescription: Shipping up to Boston!image: 'image_for_blog_post.jpg'archives: - function () ,.Internal(date())toc: falseformat: html: code-fold: true code-tools: true---# R Markdown for MedicineAttended a workshop by Alison Hill. Here are some of my notes to future self to play with later.1. Figure Labeling automatically1. distill package1. html_document2 yaml output1. xaringan1. posterdown1. stargazer1. table making1. different themes (berlin, roma)1. project management1. flexdashboard1. redoc1. spelling1. wordcountaddin1. htmlwidgets for R1. leaflet1. gitlab1. DataTables1. revealjs# Figure out how to...1. Bookdown: how to combine multiple .Rmd into a "book"1. Make a powerpoint presenation from Rmarkdown (my work is heavy in ppt)# Best practices1. Project2. Use here package 3. Have a folder for figures to print to and save# Healthcare Specific R Packages1. qicharts1. qcc1. comorbidity# Make a table in Rmarkdown|Column 1 left justify|Column 2 centered|Columne 3 right justified||:--|:-:|--:||A|B|C|Holy cow, that worked on the first try!# Pets not LivestockAlison Horst advised us that if our figures are more like pets than livestock, we should name them!!!Here's my attempt to name some figures and link them throughout the document. ```{r libraries}library(tidyverse)``````{r simple bar graph}bar_graph_mtcars <-ggplot(mtcars, aes(x = drv)) +geom_bar()```# Resources1. [https://commonmark.org/help/](https://commonmark.org/help/)1. [https://rmd4medicine.netlify.com](https://rmd4medicine.netlify.com)