Skip to content

Materials for M.A. level Introduction to R with the tidyverse & ggplot2, taught January/February 2021 at the University of Freiburg's Master of English Language and Linguistics "Practical Foundations of Linguistic Research"

Notifications You must be signed in to change notification settings

kyla-mcconnell/learn_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn_stats

Materials for 4-week Introduction to R and the tidyverse M.A.-level course taught at the University of Freiburg ("Practical Foundations of Linguistic Research") in January/February 2021.

  1. Intro to R
  • R scripts and R-Markdowns in R-Studio
  • Variables and data types
  • Packages
  • Reading and writing data
  • Exploratory Data Analysis basics
  • Descriptive statistics
  • Factors
  1. Welcome to the Tidyverse
  • Tibbles
  • Pipes (%>%)
  • Selecting and removing columns with select()
  • Renaming columns with rename()
  • Changing column order with reorder()
  • Adding columns and changing column values with mutate()
  • Using conditional logic on rows with filter()
  • Creating summary tables with groupby() and summarize()
  • Creating new columns using conditional logic with mutate() and ifelse()
  1. Exploratory Data Analysis (EDA)
  • Review of filter(), groupby() and summarize() & mutate() and ifelse()
  • Helper functions for select()
  • Helper functions for filter()
  • Warnings, errors, and documentation
  • Chaining commands ("thinking tidyverse")
  1. Visualization with ggplot2
  • The grammar of graphics
  • Basic structure of a ggplot
  • Charts by variable type, incl. bar charts, histograms, scatterplots (w/ trendlines), line graphs, boxplots
  • Adding more variables with fill and color
  • Adding labels
  • Basics of adapting themes
  • Code variations, i.e. placement of aes()
  • Piping into a ggplot
  • Saving ggplots to disk

About

Materials for M.A. level Introduction to R with the tidyverse & ggplot2, taught January/February 2021 at the University of Freiburg's Master of English Language and Linguistics "Practical Foundations of Linguistic Research"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published