data-and-visualization / intro2r.rev

Engage Early. Lecture Less. R We Having Fun Yet‽

Home Page:https://rfun.library.duke.edu/intro2r/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro to R; Revised

John Little (@libjohn) & Joel Herndon (@herndonj) 2018-02-28

README

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

  • data are in the data directory of this repository

  • our guide can be found at our Rfun site.

Outline

  1. New R Notebook

    1. Render
    2. Literate Coding
      1. New Code Chunk: Ctrl+Alt+I
      2. R Markdown, intro
    3. library(tidyverse)
    4. Hello World
    5. R Markdown, basic
      1. headings
      2. italics, bold
      3. links, lists
  2. Load & View Tibble (data frame)

  3. Data Structure & Data Types (brief)

  4. dplyr -- part of tidyverse

    1. filter rows
    2. arrange rows by variables
    3. select columns
    4. mutate derive cells / new variables
    5. count column totals
    6. summarize grouping reports
  5. Now You Try It. Hands on exercises.

    1. exercise_01.Rmd
    2. exercise_02.Rmd
    3. answers.Rmd
  6. Before we go on... final thoughts

  7. Visualize with ggvis (syntactically simpler than ggplot2, but...)

    1. https://rfun.library.duke.edu/intro2r/visualization.html
  8. Mapping in R

    1. https://rfun.library.duke.edu/intro2r/gis.html
  9. Our Workshops

    1. R we having fun yet‽ https://rfun.library.duke.edu
    2. Full DVS workshop series
  10. Questions: Walk-in schedule and by appointment Data Science Consulting

License

Shareable via Creative Commons: CC-BY-NC

About

Engage Early. Lecture Less. R We Having Fun Yet‽

https://rfun.library.duke.edu/intro2r/

License:Other


Languages

Language:R 100.0%