Submission due yesterday at 11:45pm
Y’all have it out for The Shawshank Redemption…
Add the following to your .gitignore file:
/.quarto/
.Rproj.user
*/*_cache/*
*tsv*
*csv*
*xlsx*
*zip
*gz
.DS_Store
.Rhistory
This instructs git to ignore matching files - less chance of accidental “super commits.”
(Possible to override if you necessary)
Peer feedback assigned on GitHub this morning
Submissions may not map perfectly to rubric - use your best judgement
Learn from this! What can you adapt for MP#03?
Now online
Due November 13th
GitHub post (used for peer feedback) AND Brightspace
Three Weeks: don’t wait until the very end
Should be less demanding than MP #01 and MP#02
Pay attention to the rubric
A personal note, if you allow me:
I’m really enjoying this class - thank you all!
Your effort is not unnoticed - I know this class starts “pedal-to-the-metal” but hopefully you’ve seen just how powerful these tools R.
More than that - I appreciate your good attitude and willingness to share your frustrations and triumphs. Reading comments on PA quiz this week was uplifting.
I’ve set up a TODO file with everything I want to improve for next cohort.
Suggestions welcome.
I will also ask Charles to distribute an opportunity for anonymous feedback.
Tentative Topics
Any requests?
Feedback from Charles and from me - I’m behind on returning.
Project should be your main focus for rest of course
Brightspace - Wednesdays at 11:45
Next pre-assignment is October 30th
Thank you for FAQs and (honest) team feedback. Keep it coming!
Due Wednesday at 11:45pm:
ggplot2 - aes()What is the aes function - stands between data and geom_
geom_ takes a fixed set of “coordinates”aes ties these togetherggplot2 - Why do Pie Charts have a bad reputation?fill to convey category - limited categoriesBut honestly - “insider smugness” and hate of Excel
ggplot2 - Plot Type ChoiceFor me:
ggplot2 - Font SizingTheme machinery!
ggplot2 - Overplotting / ScatterBlobsStudent asked about “scatterblobs” - typo(?) but I love it!
ggplot2 - Optimizing PerformanceActive project of ggplot2 team - not much you can do
Practical advice: plot less (see previous slide)
ggplot2 - Beyond Scatter and LineSome favorite semi-advanced plot types:
Deep rabbit hole
ggplot2 - Geospatial VisualizationsThat’s our goal for today!
ggplot2 - High-Dimensional DataHigh-dimensional data: measure many variables per observation (“wide”)
High-dimensional data is hard to visualize
Approaches:
ggplot2 - Creating a Custom ThemeAdvanced:
theme_set() - change ggplot2 defaults.Rprofile - set code to run every time you start Rggplot2 - When Not to Useggplot2 is designed to make good statistical graphics. Sub-par for:
git WTFReference: Happy Git with R
“Datasaurus Dozen”:
install.packages("datasauRus") (Note capital R)library(datasauRus); data(datasaurus_dozen)Create an animated (gganimate) plot:
datasetIf you are having trouble with gganimate, facet instead.
ggplot2Today: maps!
Install the sf package: Simple Features for Spatial Data
Exercise: Lab #08
| Room | Team | Room | Team | |
|---|---|---|---|---|
| 1 | Rat Pack | 6 | Ca$h VZ | |
| 2 | Subway Surfers | 7 | Listing Legends | |
| 3 | Chart Toppers | 8 | TDSSG | |
| 4 | Metro Mindset | 9 | Broker T’s | |
| 5 | Apple Watch | 10 | EVengers |