Publications by Quincy Hou
SOC222 research report
Initial set-up options(repos = c(CRAN = "https://cran.rstudio.com")) # Install necessary packages if you haven't already install.packages(c("haven", "fst"), repos='https://cran.rstudio.com') ## Installing packages into 'C:/Users/quinc/AppData/Local/R/win-library/4.3' ## (as 'lib' is unspecified) ## package 'haven' successfully unpacked and MD5 s...
1601 sym R (20563 sym/77 pcs) 6 img 1 tbl
HOMEWORK5
Initial set-up # List of packages packages <- c("tidyverse", "infer", "fst", "modelsummary", "effects", "survey", "MASS", "aod", "interactions", "kableExtra", "flextable", "scales") # add any you need here # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"Package"])] if(length(n...
11839 sym Python (18021 sym/45 pcs) 3 img 2 tbl
HOMEWORK4
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)...
7946 sym Python (14600 sym/37 pcs) 4 img 3 tbl
HOMEWORK3
# List of packages packages <- c("tidyverse", "infer", "fst") # 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) # Load the packages lapply(packages, library, character.only = TRUE) ## ...
8796 sym 2 img
HOMEWORK2
First things first: setting up your environment Remember: you always need to do this step first and include all the packages you need # List of packages packages <- c("tidyverse", "fst", "modelsummary", "viridis") # add any you need here # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.pack...
5672 sym Python (10640 sym/26 pcs) 4 img
HOMEWORK1
First things first: setting up your environment In the list following c(, you would be any package you need in between quotation marks. # List of packages packages <- c("tidyverse", "fst", "modelsummary") # add any you need here # Install packages if they aren't installed already new_packages <- packages[!(packages %in% installed.packages()[,"...
8938 sym Python (7560 sym/35 pcs) 1 img