John Little (@libjohn) & Joel Herndon (@herndonj) 2018-03-20
- template code - <foo -- foo -- foo>
- rrev repo - <foo -- foo -- foo>
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: brief explanation
library(tidyverse)
-
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.
-
Basic Exploratory Data Analysis
library(skimr)
-
Before we go on... final thoughts
-
Visualize with
ggvis
(syntactically simpler than ggplot2, but...) -
Our Training Materials
-
R we having fun yet‽ https://rfun.library.duke.edu. Training materials for R.
- 2018 Workshops: Intro to 2 / Visualization / Shiny / Mapping / Git / R Markdown
-
Full DVS workshop series
-
-
Questions: Walk-in schedule and by appointment Data Science Consulting
Shareable via Creative Commons: CC-BY-NC