Publications by [Jianyu Huang]
midterm-Jianyu Huang
Academic Honesty Statement I, ______Jianyu Huang______, hereby state that I have not communicated with or gained information in any way from my classmates or anyone other than the Professor during this exam, and that all work is my own. library(tidyverse) library(openintro) library(nycflights13) Answer: Reasoning: 1. The exam_grades data se...
2633 sym R (61 sym/1 pcs)
Exercise2023-4-7
library(tidyverse) library(openintro) library(nycflights13)...
4 sym R (61 sym/1 pcs)
Homework #4
1. Analyzing the babies data set in the openintro package Questions: (1) With the babies data set, investigate whether there is a correlation between mother’s weight and the gestation length. ggplot(data= babies, mapping=aes(x=weight, y=gestation))+ geom_point()+geom_smooth()+ xlim(90,180)+ ylim(230,300)+ labs(title = "Mother’s weig...
1153 sym 1 img
Homework #5
1.Reproduce the tidying process of the who data set in the tidyr package Questions: (1) Read the lecture notebook that tidies the who data set, understand all steps needed, then reproduce the whole tidying steps by yourself without referring to my notebook. Answer: (2) What happens if you neglect the mutate() step? (mutate(names_from = stri...
1691 sym
Midterm Project - Diabetes Healthcare
About the data What its about Diabetes is among the most prevalent chronic diseases in the United States, impacting millions of Americans each year and exerting a significant financial burden on the economy. Diabetes is a serious chronic disease in which individuals lose the ability to effectively regulate levels of glucose in the blood, and t...
606 sym
Homework3
The gpa data set is available through openintro package in *R. Working with the data set flights in the package nycflights13, answer the following questions. You need to perform necessary data transformation in each question. Questions: (a) Create a histogram of arrival delays (excluding NAs) for all flights in June and July. Make sense of yo...
780 sym 3 img
HW2
1 . Database gpa The gpa data set is available through openintro package in *R. Take gpa to be “grade points average”, which is a measure of a student’s grade (the higher, the better);studyweek to be the average hours that a student study per week; sleepnight to be the average hours that a student sleep per night, and out to be the numbe...
1004 sym 2 img
Test 1(2023.2.1)
1. Data set mpg Question 1: What is the most popular fuel type in this data set? ggplot(mpg) + geom_bar(aes(fl), fill = "blue") + labs(title = "Car fuel economy data 'mpg'", x = "fuel type", y = "count") + theme(axis.title = element_text(size = rel(1.5)), plot.title = element_text(size = rel(1.5), hjust = 0.5), axis.text = element_tex...
1230 sym 3 img