1 Topics

• Ideas from: R Basic ECPR 2018


1.1 First week (Lu)

• install R and RStudio


1.1.1 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


1.1.2 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


1.2 Second week (Lu)

• wrangling: tidyverse,
• loops, conditionals (if else, ifelse, while), function, apply family


1.3 Third week (Le)

• loading/saving data (heaven/foreign package)
• GLM


1.4 Fourth week (Se)

• SEM and structural plotting
• Missing data


1.5 Fifth week (Lu)

• basic plotting
• ggplot
• plotly


1.6 Sixth week (Se)

• RMarkdown: citation, write a paper in R, embed analyses, open science (power analysis, reproducible simulations with use.seed())
• additional questions


2 Format (duration, audience, frontal/exercises)


2.1 Session

• 20/30 mins theory and 20/30 mins practice x2


2.2 Data

Iris
• individual contribution


4 TO DO

• online survey to ask what topics to include
• other topics to add: factor analysis, good practices for reproducibility (use set.seed(),)