Publications by Jordan MacLean
SOC222 - Research Project
Outcome Variable (Dependent Variable): Trust in Parliament ‘trstprl’ Predictor/Explanatory Variable (Independent Variable): Educational Attainment ‘edu.ba’ ‘edulvla’ ‘edulvlb’ Categorical Variable (Independent Variable): Feeling of Household Income ‘hincfel’ RQ: How does trust in France’s parliament depend on educational at...
589 sym Python (21260 sym/47 pcs) 5 img 2 tbl
SOC222 - Homework 5
# Loading the list of packages packages <- c("tidyverse", "infer", "fst", "modelsummary", "effects", "survey", "MASS", "aod", "interactions", "kableExtra", "flextable", "scales") # add any you need here # Installing packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_p...
3881 sym Python (15164 sym/29 pcs) 3 img 2 tbl
MacLean_Jordan_Homework_4
Setting up environment # List of packages packages <- c("tidyverse", "infer", "fst", "modelsummary", "effects", "survey", "interactions") # add any you need here # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages(new_packages) # ...
3423 sym Python (12400 sym/28 pcs) 2 img 2 tbl
MacLean_Jordan_Homework_3
Setting up environment # To ensure there are no problems with the "Vector Memory" error, this code ensures R clears its environment which may help free up some memory rm(list=ls()); gc() ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 527616 28.2 1172772 62.7 NA 669402 35.8 ## Vcells 972131 7.5 8388608 64....
3399 sym Python (10735 sym/56 pcs) 2 img
SOC222 - Homework 2
# List of packages packages <- c("tidyverse", "fst", "modelsummary", "viridis") # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages(new_packages) # Load the packages lapply(packages, library, character.only = TRUE) ## ── Attachi...
2456 sym Python (10658 sym/31 pcs) 2 img
SOC222 - Homework 1
https://rpubs.com/parker60/1138267 # List of packages packages <- c("tidyverse", "fst", "modelsummary") # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(new_packages)) install.packages(new_packages) # Load the packages lapply(packages, library, character.only...
4792 sym Python (14637 sym/120 pcs) 1 img