swirl
swirl copied to clipboard
"Looking at data" lesson text doesn't match what's happening in the console
Overview
In the "Looking at data" lesson (selection 12), at one point it asks you to run summary(plants), and then discusses the output of that command. However, the discussion of that data doesn't actually match the output.
The output:
The discussion:
The issue
Specifically, the issue is with the discussion of the 'factor' variables. The discussion implies that there's some sort of categorisation happening
"the summary for Duration (also a factor variable) tells us that our dataset contains 3031 Perennial plants, 682 Annual plants, etc."
when all I see is Length: , Class: , and Mode: .
System
Hardware: 2021 M1 Macbook Air OS: macOS Ventura 13.2.1 Software: RStudio Version 2023.03.1+446 (2023.03.1+446)