Publications by Zekun Fang
Document
Introduction The information is sourced from the course data set directory and pertains to incidents of aircraft and bird collisions. The interest in this data set stems from the question that arises during air travel: will there be an interaction between the aircraft and birds, and will this affect the journey? Through the use of skills learne...
6829 sym R (4786 sym/20 pcs) 4 img 1 tbl
project2
1. Data Background The data is extracted from the course dataset directory. The dataset records information about the collision between aircraft and bird. The underlying reason that this dataset interests me is because this is the question that emerges while taking a airplane trip. Are we expecting some kind of interaction between the aircraft ...
9719 sym R (4925 sym/21 pcs) 4 img 1 tbl
Document
#Loading the rvest package library('rvest') ## Warning: 程辑包'rvest'是用R版本4.2.3 来建造的 #Specifying the url for desired website to be scraped url <- 'http://www.imdb.com/search/title?count=100&release_date=2016,2016&title_type=feature' #Reading the HTML code from the website webpage <- read_html(url) #Using CSS selectors to scr...
368 sym R (12521 sym/56 pcs) 3 img
Document
0.1 Load the “DSLabs” dataset. > # library > library(tidyverse) > library(ggsci) > # loading the data > disease <- dslabs::us_contagious_diseases > str(disease) 'data.frame': 16065 obs. of 6 variables: $ disease : Factor w/ 7 levels "Hepatitis A",..: 1 1 1 1 1 1 1 1 1 1 ... $ state : Factor w/ 51 levels "Alabama","A...
361 sym 1 img
Document
1 Introudction In this work, we use The Corruption Perceptions Index (CPI) 2020: Score timeseries since 2012 to demonstrate the level of corporate and political corruption in different region over years. This index is an annual dataset compiled and published by Transparency International, a global non-governmental organization that monitors an...
3751 sym R (870 sym/5 pcs) 1 img 1 tbl
nations
library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.1 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr 1.1.0 ## ✔ tidyr 1.3.0 ✔ stringr 1.5.0 ## ✔ readr 2.1.3 ✔...
85 sym R (1440 sym/8 pcs) 2 img
graphs
#install.packages("treemap") #install.packages("RColorBrewer") library(treemap) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.1 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dply...
1151 sym R (9034 sym/41 pcs) 8 img 1 tbl
nyc flights
#loading libraries library(nycflights13) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.1 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr 1.1.0 ## ✔ tidyr 1.3.0 ✔ ...
8 sym R (966 sym/4 pcs) 1 img
Document
So now we know that there is possible bias in the dataset, what can we do with it? library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dpl...
3460 sym R (15164 sym/32 pcs) 4 img
Airquality assignment
Air quality Assignment Load in the Dataset Load the tidyverse package to get the airquality dataset # install.packages("tidyverse") library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 �...
1217 sym R (3867 sym/28 pcs) 5 img