Topics
First week (Lu)
• install R and RStudio
first session
• what, why, and intro to course
• a word of encouragement and how to find help
• good coding
• practical matters: Rstudio environment, installing/loading packages
• simple calculations: storing, operators
second session
• basic objects: vector, matrix, data frame, list, data types (numeric, character, logical, factors, missing values)
• descriptives: importing/exporting data, summarising
• operations with objects and indexing
Second week (Lu)
• wrangling: tidyverse,
• loops, conditionals (if else, ifelse, while), function, apply family
Third week (Le)
• loading/saving data (heaven/foreign package)
• GLM
Fourth week (Se)
• SEM and structural plotting
• Missing data
Fifth week (Lu)
• basic plotting
• ggplot
• plotly
Sixth week (Se)
• RMarkdown: citation, write a paper in R, embed analyses, open science (power analysis, reproducible simulations with use.seed())
• additional questions
TO DO
• online survey to ask what topics to include
• other topics to add: factor analysis, good practices for reproducibility (use set.seed(),)