9/5/2022
Problem session for Activity 3
- Volunteers will drop their solutions into !Student R Code - Solutions for Activities and Exercises on our Google Drive folder. Please title them Activty3-yourname.pdf and Activity3-yourname.R.
Chapter 3 - Graphs with gglot - see graph.R on our Google Drive folder
- Univariate graphs
- histogram
- density plot with kernel smoother
- bar graph
- stacked bar graph
- Multivariate graphs
- scatterplot
- scatterplot with regression line
- scatterplot with multiple regression lines
- using the mutate() function to create bins and the %>% and %+% operators to update a data frame
- using different colors
- another option with facets
- scatterplot smoothing
- time series plot
- mosaic plot (eikosogram)
- Maps - see Chapter 17
- Networks - see Chapter 20
Activity 4 - we will have a PS on Wednesday
- Write an R script to create Figures 3.16, 3.17, 3. 18, and 3.19.
Please read Section 4.2 for class on Wednesday.