Submit your report in pdf knitted from R markdown along with the .rmd file.
Organize your report clearly by tasks, questions using different level of headers. Please refer to the example uploaded to Canvas for the last lab homework.
For each question, include the question itself, the code/result/graph to answer the question, and your answer in plain language.
You need to polish your graph details to reasonable visual comfort.
AI is not allowed in any means.
words data set, find all the words that
match each of the following patterns:sentences data set, make the following
plotDownload the Oxford English Dictionary as a “.txt” file from https://drive.google.com/file/d/1r0MrJDUGVv_Xh1I1cZ4ldMJedYOsiIAH/view?usp=sharing
Read it into RStudio with read_lines() function
(check how to use it by yourself)
Turn the dictionary into a tibble and remove all blank lines
Use regular expression to extract all words for each item in a separate column named “words”
Find all words in the dictionary that contain “a”, “e”, “i”, “o”, “u” and “y” at the same time.
BankChurners.csv to answer the following
questions:BankChurners.csv into RStudio, then change the
columns that you answered above into factors or ordered factors.gss_cat data setmarital variable?tvhours.nycflights13 data setNA)?flights and airports only
along with R code to show the time difference (in hours) between New
York City and the following cities:
Time_difference_NYC(dest) to compute
the time difference (in hours) between any destination airport (in
faa code) and New York City.flight_time(dep_time, arr_time, origin, dest) to compute
the actual flight time from the dep_time at the
origin airport to the arr_time in the
dest airport. dep_time and
arr_time should be in the form of an integer such as
830 (8:30am); origin and dest
should be in faa codes.