HSCI 410 · R walkthrough

Comparing Models and Selecting Variables in R

script.R
↵ Run
Console
R 4.6.1 · ~/hsci410/
Environment
Plots
Whiteboard
Ctrl + Enter
Decision point
0:00 / 0:00

Transcript of this scene

Follow along in R

The script used in this demonstration can be downloaded and run in R or RStudio. Its line numbers match the script.R tab. It loads the Canadian Social Connection Survey data from GitHub, so the computer needs an internet connection. It uses base R only, so no packages need to be installed.

Download the R script ↓

Read more in the Lesson 3 module