Topics Reference

If you’re looking for a particular section of a tutorial, use this handy summary to jump straight to the section you want.

Topic Sub-Topic
Tutorial 01: Logical Assertions and Filtering
Overview
Logical Data and Assertions
Vectorised Assertions
Filter Basic Form, Matching Values, Ranges of Values, Missing Values
Combining Assertions
ChallengR
Tutorial 02: Data Wrangling
Overview
Data Codebook
To-Do List
Mutate Basic Form, Adding New Variables, Assigning Changes
Conditionals with case_when() Basic Form, Recoding a Variable
Fixing Variables with Problems
ChallengR
Tutorial 03: The logic of piping |>
Introduction
The anatomy of a function Arguments
The Pipe |> One-function pipelines, Piping into named and unnamed arguments, Multi-function pipelines, Keeping the pipeline going
Debugging pipelines
ChallengR
Tutorial 04: Summarising data
Introduction Data, Codebook
Research Question
Overall Summaries with summarise() Basic Form, Counting Cases, Descriptives, Confidence Intervals
Grouped Summaries
Formatting Tables
Visually Interpreting CIs
ChallengR
Tutorial 05: T-test
Introduction Study Design, Codebook
Data Preparation
Research Question
Visualisation Revision of {ggplot2}
The t-test
Interpretation
Reporting
ChallengR Data and Design
Tutorial 06: Correlation
Setting Up
Data preparation Codebook
Correlation Matrices Basic Matrix with cor(), Snazzy Matrix with GGally
Correlation Tests
Correlation does not imply causation
Formatting Results
Reporting Report Formatting
ChallengR Effective data wrangling with tidyselect
Tutorial 07: Chi-square
In Hot Water A Lady Tasting Tea
Data and Design
Visualising Counts with Bar Charts More on scale_...() functions
Chai-Square[^3] Analysis
Reporting \(\chi^2\) Analysis General Format for Reporting Statistical Results, Observed and Expected Frequencies, More about htest objects
ChallengR
Tutorial 08: Linear model (1)
Setting Up
Understanding the Equation Using the Equation, Flatlining
The lm() function
Running the Model
Interpreting the Model
Visualisation
Using the Model
ChallengR
Tutorial 09: Linear model (2)
Introduction
Warm-up Quiz
Setting Up
What is “best fit”? {#best-fit} Deviations and Residuals, Finding the Best Line
Visualisation
Testing Hypotheses The F Statistic, More detailed summaries
Reporting Results In-Text Reporting, Table Reporting
That’s all for this week - nice work!
ChallengR
Tutorial 10: Linear model (3)
Introduction
Warm-up Quiz
Setting Up
One Predictor
Two Predictors
Comparing Models R2 Change, F-change
Comparing Predictors
Reporting
ChallengR