1+1 # like this[1] 2
Hi class, please work on the check-in. We will get started soon. Ask for help if you are stuck!

This week, we’ll learn how to describe data using R and statistics and human language.
REVIEW : Announcements, Check-In, and Week 1 (30 Minutes)
PART 1 : For-Loops for Fun and Profit.
PART 2 : Describing Data with R, Statistics, and Human Language (50 Minutes)
BREAK TIME (10 Minutes) + Article Presentation (30 Minutes)
PART 3 : QUARTO
For-Loops
Monty Hall with 100 Doors.
DISCUSSION : Below are the twelve (12) criteria Broman & Woo (2018) articulated for thinking about data. Review the list. What practices below have you encountered or struggled with in working with data so far? What terms or ideas do you have questions about? Is there anything else that should be added to this list?
summary() or table(): to count frequencies of categorical data
as.factor() and as.numeric() : to translate data
levels() or factor() : to relevel or change factor names
plot : graphing categorical data
summary() or psych::describe() # this comes from the psych package which you must install : to summarize data
mean()
median()
sd()
range()
note : if there are missing data (often!) you must manually tell R to remove the missing data : mean(d$variable, na.rm = T)
hist() or boxplot() : graphing numeric data
Quarto is a version of R Markdown, which is a version of Markdown, which is a powerful way to author code that is meant for both humans and computers to read.
Advantages :
Disadvantages :
In this class, we will work with both .R scripts and .qmd Quarto Markdown Files
There are many thorough guides on how to use Quarto, but honestly the official Quarto reference book is almost constantly open on my computer (in multiple tabs….sigh.) But let me know if you find another cool resource.
Things to do in Quarto :
write in human text
insert a code block
insert inline code
render everything with no pain and drama as a .pdf or .html file and share this with others.
Quarto is a version of R Markdown, which is a version of Markdown, which is a powerful way to author code that is meant for both humans and computers to read.
Advantages :
Disadvantages :
In this class, we will work with both .R scripts and .qmd Quarto Markdown Files
There are many thorough guides on how to use Quarto, but honestly the official Quarto reference book is almost constantly open on my computer (in multiple tabs….sigh.) But let me know if you find another cool resource!
Things to do in Quarto :
write in human text
insert a code block
insert inline code
render everything with no pain and drama as a .pdf or .html file and share this with others.