This website contains course notes for CGSC5101/HCIN5400.


This website is built using bookdown package and hosted with Netlify. For more information on how to use bookdown see bookdown.org. The complete source of this website is available on Github. You are encouraged to report any errors or to make suggestions via the issues function on the github page.

This set of lecture notes was built with:

xfun::session_info(c(cran_packages, gh_repos_bare), dependencies = FALSE)
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Locale: en_US.UTF-8 / en_US.UTF-8 / en_US.UTF-8 / C / en_US.UTF-8 / en_US.UTF-8

Package version:
  bibtex_0.4.3          bookdown_0.21         broom_0.7.5          
  dplyr_1.0.3           effectsize_0.4.1      esc_0.5.1            
  fivethirtyeight_0.6.1 gapminder_0.3.0       ggplot2_3.3.3        
  ggrepel_0.9.1         gt_0.2.2              here_1.0.1           
  htmltools_0.5.1.1     import_1.2.0          janitor_2.1.0        
  kableExtra_1.3.1      knitcitations_1.0.12  knitr_1.31           
  magrittr_2.0.1        moderndive_0.5.1      mvtnorm_1.1-1        
  nycflights13_1.0.1    patchwork_1.1.1       plotrix_3.8-1        
  purrr_0.3.4           readr_1.4.0           readxl_1.3.1         
  remotes_2.2.0         rmarkdown_2.7.6       rstatix_0.7.0        
  skimr_2.1.2           sn_1.6-2              stringr_1.4.0        
  tibble_3.0.5          tidyr_1.1.2           viridis_0.5.1        

Pandoc version: 2.13


Creative Commons License
This work by Chester Ismay, Albert Y. Kim, and Chunyun Ma is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Below is a human-readable summary of (and not a substitute for) the license. Please see https://creativecommons.org/licenses/by-sa/4.0/legalcode for the full legal text.

You are free to:

  • Share—copy and redistribute the material in any medium or format

  • Remix—remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

  • Attribution—You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

  • ShareAlike—If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

  • No additional restrictions—You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.


You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.

No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.