--- title: "Live Code using (R)Markdown" author: "JJB + Course" date: "01/18/2019" output: html_document: toc: true toc_float: collapsed: false --- ```{r setup, include=FALSE} knitr::opts_chunk\$set(echo = TRUE) ``` # Intro This document contains live examples from in class... # Examples Write here... ## Links Explicit Link to **Rebecca Black - Friday** music video: Hidden link by text: [STAT 385 Homework Solutions all Semester](https://www.youtube.com/watch?v=kfVsfOSbJY0) ## Lists Favorite Bars in Urbana-Champaign 1. Kams 2. Legends 3. Murphy's First attempt to fix the ordering 2. Legends 3. Murphy's 1. Kams What went wrong? List started from **2** instead of **1**. Second attempt to fix the ordering 1. Legends 1. Murphy's 1. Kams **Note:** Here we used the multi-cursor shortcut of **[Cntrl + Opt/Alt + Downarrow]** Grocery List unordered list - Yogurt - Milk - Bread - Toliet Paper 1. Favorite Soft Toilet 1. Store Generic - Salad **Note:** Make sure to indent each sublevel by 4 spaces. ------- # Tables | | STD + | STD - | |-------|-------|--------| | Male | 40 | 60 | | Female| 2 | 98 | Need help creating a table? Consider using a table generator: | | STD + | STD - | |--------|--------|-------| | Male | 40 | 60 | | Female | 2 | 98 | # Code Chunk ```{r} x = c(1, 52, 98) x x_std = sd(x) ``` The standard deviation of: `r format(x_std, digits = 5)`