John Little (@libjohn) & Joel Herndon (@herndonj) 2018-02-28
- template code - https://is.gd/rcode
- rrev repo - https://is.gd/rrev2018
This repository contains supporting datasets and files for our Intro to R workshop by the Data & Visualization Services Department, Duke University Libraries. You can find more information about our future and past workshops
-
New R Notebook
- Render
- Literate Coding
- New Code Chunk: Ctrl+Alt+I
- R Markdown, intro
library(tidyverse)
- Hello World
- R Markdown, basic
- headings
- italics, bold
- links, lists
-
Load & View Tibble (data frame)
-
Data Structure & Data Types (brief)
-
dplyr
-- part of tidyversefilter
rowsarrange
rows by variablesselect
columnsmutate
derive cells / new variablescount
column totalssummarize
grouping reports
-
Now You Try It. Hands on exercises.
-
Before we go on... final thoughts
-
Visualize with
ggvis
(syntactically simpler than ggplot2, but...) -
Mapping in R
-
Our Workshops
- R we having fun yet‽ https://rfun.library.duke.edu
- Full DVS workshop series
-
Questions: Walk-in schedule and by appointment Data Science Consulting
Shareable via Creative Commons: CC-BY-NC