o
Reminder of Project guidelines 1. Projects are individual. Please work alone and do not share answers, in-progress work, etc. with classmates. You must create and type all of your code yourself. 2. You are welcome to use R resources you find on Google. The only online resources that are not allowed are homework websites such as but not limited to Chegg, or coding websites such as but not limited to StackOverflow. Additionally, please do not consult roommates, friends, GradQuant, etc. I trust that you will follow the honor system. 3. You are welcome to ask for help on Campuswire on any of the R topics covered in the HW, Lab, or listed as a reference below. I cannot provide specific project answers, and if you are responding to a Campuswire question, please do not share specific answers. 4. Any instances of suspected cheating will be investigated thoroughly. Please read the Integrity Statement in the syllabus if you are unclear about what constitutes cheating. Project 2: R Download and setup files Click this link and then click “Download” in the top right to download the Project files. In RStudio Cloud, create and set up a new project using these files. You should have an .Rmd file, a .csv file, and a PDF of the solution. You do not need to upload the PDF into RStudio. Work in RStudio You will see a series of questions and corresponding code blocks. First, change your name at the top of the Rmd file. Then, follow the prompts on each question. Make sure you complete all questions and remember to type your code inside the block (“chunk”). Resources you are allowed to use Remember that you can use any of the resources from HW 3, Lab 1, as well as reasonable Google findings (except cheating). R for Data Science book Data visualization with ggplot2 cheatsheet Data transformation with dplyr cheatsheet Check your output Check your output against the solution file provided in the downloads. The black areas are code that has been redacted (hidden). For the text output, minor differences are fine, but the numbers should be the same. No essay question for Project 2 I know R has been a tough module for many students. I am waiving the essay question on this Project so you can focus on R. How to submit Knit your code, convert to PDF, and submit. If you are not able to answer a question, write as much code as you can using comments (#). ? Grading rubric 100 points total. Each question is worth approximately [100 divided by number of questions] points. The easier questions at the beginning will be worth fewer points, and these points will be shifted to the later questions. property.csv saledate,price,type,bedrooms,V1,V2 30/06/2007,421291,house,3,, 30/06/2007,548969,house,4,, 30/06/2007,368817,unit,2,, 30/06/2008,441854,house,2,, 30/06/2008,419628,house,3,, 30/06/2008,559580,house,4,, 30/06/2008,735904,house,5,, 30/06/2008,326076,unit,1,, 30/06/2008,373482,unit,2,, 30/06/2008,518911,unit,3,, 30/06/2009,446113,house,2,, 30/06/2009,444351,house,3,, 30/06/2009,574680,house,4,, 30/06/2009,765555,house,5,, 30/06/2009,323556,unit,1,, 30/06/2009,385791,unit,2,, 30/06/2009,518911,unit,3,, 30/06/2010,456822,house,2,, 30/06/2010,474590,house,3,, 30/06/2010,608528,house,4,, 30/06/2010,776325,house,5,, 30/06/2010,317711,unit,1,, 30/06/2010,408608,unit,2,, 30/06/2010,535063,unit,3,, 30/06/2011,464788,house,2,, 30/06/2011,503891,house,3,, 30/06/2011,634155,house,4,, 30/06/2011,NA,house,5,, 30/06/2011,333049,unit,1,, 30/06/2011,419777,unit,2,, 30/06/2011,547981,unit,3,, 30/06/2012,469149,house,2,, 30/06/2012,507014,house,3,, 30/06/2012,633695,house,4,, 30/06/2012,792171,house,5,, 30/06/2012,341807,unit,1,, 30/06/2012,424249,unit,2,, 30/06/2012,537592,unit,3,, 30/06/2013,451516,house,2,, 30/06/2013,505739,house,3,, 30/06/2013,635515,house,4,, 30/06/2013,812224,house,5,, 30/06/2013,348512,unit,1,, 30/06/2013,426621,unit,2,, 30/06/2013,580696,unit,3,, 30/06/2014,472726,house,2,, 30/06/2014,512374,house,3,, 30/06/2014,655757,house,4,, 30/06/2014,820368,house,5,, 30/06/2014,341289,unit,1,, 30/06/2014,429361,unit,2,, 30/06/2014,583370,unit,3,, 30/06/2015,477238,house,2,, 30/06/2015,534927,house,3,, 30/06/2015,694800,house,4,, 30/06/2015,880625,house,5,, 30/06/2015,332703,unit,1,, 30/06/2015,432730,unit,2,, 30/06/2015,602877,unit,3,, 30/06/2016,486436,house,2,, 30/06/2016,564267,house,3,, 30/06/2016,737159,house,4,, 30/06/2016,933589,house,5,, 30/06/2016,324725,unit,1,, 30/06/2016,430880,unit,2,, 30/06/2016,622045,unit,3,, 30/06/2017,498846,house,2,, 30/06/2017,601041,house,3,, 30/06/2017,789732,house,4,, 30/06/2017,995349,house,5,, 30/06/2017,330319,unit,1,, 30/06/2017,429059,unit,2,, 30/06/2017,605273,unit,3,, 30/06/2018,506116,house,2,, 30/06/2018,622466,house,3,, 30/06/2018,837295,house,4,, 30/06/2018,1017752,house,5,, 30/06/2018,338105,unit,1,, 30/06/2018,427623,unit,2,, 30/06/2018,603434,unit,3,, 30/06/2019,500158,house,2,, 30/06/2019,630814,house,3,, 30/06/2019,803925,house,4,, 30/06/2019,995363,house,5,, 30/06/2019,336551,unit,1,, 30/06/2019,425659,unit,2,, 30/06/2019,599339,unit,3,, 30/09/2007,441854,house,2,, 30/09/2007,421291,house,3,, 30/09/2007,548969,house,4,, 30/09/2007,735904,house,5,, 30/09/2007,368817,unit,2,, 30/09/2007,518911,unit,3,, 30/09/2008,451583,house,2,, 30/09/2008,423811,house,3,, 30/09/2008,561852,house,4,, 30/09/2008,758340,house,5,, 30/09/2008,326076,unit,1,, 30/09/2008,377481,unit,2,, 30/09/2008,518911,unit,3,, 30/09/2009,440123,house,2,, 30/09/2009,449742,house,3,, 30/09/2009,579369,house,4,, 30/09/2009,765515,house,5,, 30/09/2009,318922,unit,1,, 30/09/2009,391161,unit,2,, 30/09/2009,523285,unit,3,, 30/09/2010,457806,house,2,, 30/09/2010,483176,house,3,, 30/09/2010,615603,house,4,, 30/09/2010,772699,house,5,, 30/09/2010,318695,unit,1,, 30/09/2010,412509,unit,2,, 30/09/2010,538694,unit,3,, 30/09/2011,467546,house,2,, 30/09/2011,507090,house,3,, 30/09/2011,636582,house,4,, 30/09/2011,789614,house,5,, 30/09/2011,337144,unit,1,, 30/09/2011,421158,unit,2,, 30/09/2011,539828,unit,3,, 30/09/2012,465919,house,2,, 30/09/2012,506615,house,3,, 30/09/2012,634803,house,4,, 30/09/2012,800432,house,5,, 30/09/2012,344793,unit,1,, 30/09/2012,425453,unit,2,, 30/09/2012,548326,unit,3,, 30/09/2013,454270,house,2,, 30/09/2013,505823,house,3,, 30/09/2013,636687,house,4,, 30/09/2013,805066,house,5,, 30/09/2013,347962,unit,1,, 30/09/2013,428398,unit,2,, 30/09/2013,581428,unit,3,, 30/09/2014,475326,house,2,, 30/09/2014,516618,house,3,, 30/09/2014,664635,house,4,, 30/09/2014,843904,house,5,, 30/09/2014,338293,unit,1,, 30/09/2014,428911,unit,2,, 30/09/2014,598512,unit,3,, 30/09/2015,477330,house,2,, 30/09/2015,542051,house,3,, 30/09/2015,706711,house,4,, 30/09/2015,891981,house,5,, 30/09/2015,330278,unit,1,, 30/09/2015,432791,unit,2,, 30/09/2015,603343,unit,3,, 30/09/2016,489104,house,2,, 30/09/2016,572582,house,3,, 30/09/2016,745430,house,4,, 30/09/2016,952327,house,5,, 30/09/2016,325127,unit,1,, 30/09/2016,430654,unit,2,, 30/09/2016,616198,unit,3,, 30/09/2017,504592,house,2,, 30/09/2017,609355,house,3,, 30/09/2017,810694,house,4,, 30/09/2017,1004117,house,5,, 30/09/2017,332481,unit,1,, 30/09/2017,428878,unit,2,, 30/09/2017,606850,unit,3,, 30/09/2018,504318,house,2,, 30/09/2018,624602,house,3,, 30/09/2018,830727,house,4,, 30/09/2018,1007114,house,5,, 30/09/2018,339220,unit,1,, 30/09/2018,426970,unit,2,, 30/09/2018,603281,unit,3,, 30/09/2019,510712,house,2,, 30/09/2019,631875,house,3,, 30/09/2019,791446,house,4,, 30/09/2019,970268,house,5,, 30/09/2019,335449,unit,1,, 30/09/2019,424412,unit,2,, 30/09/2019,597884,unit,3,, 31/03/2007,421291,house,3,, 31/03/2007,548969,house,4,, 31/03/2008,441854,house,2,, 31/03/2008,416031,house,3,, 31/03/2008,552484,house,4,, 31/03/2008,735904,house,5,, 31/03/2008,326076,unit,1,, 31/03/2008,368817,unit,2,, 31/03/2008,518911,unit,3,, 31/03/2009,442566,house,2,, 31/03/2009,437724,house,3,, 31/03/2009,569682,house,4,, 31/03/2009,770046,house,5,, 31/03/2009,324712,unit,1,, 31/03/2009,380810,unit,2,, 31/03/2009,518911,unit,3,, 31/03/2010,459222,house,2,, 31/03/2010,466433,house,3,, 31/03/2010,599614,house,4,, 31/03/2010,773355,house,5,, 31/03/2010,316751,unit,1,, 31/03/2010,402898,unit,2,, 31/03/2010,524008,unit,3,, 31/03/2011,460758,house,2,, 31/03/2011,498022,house,3,, 31/03/2011,628969,house,4,, 31/03/2011,778470,house,5,, 31/03/2011,329856,unit,1,, 31/03/2011,417970,unit,2,, 31/03/2011,550851,unit,3,, 31/03/2012,470365,house,2,, 31/03/2012,507449,house,3,, 31/03/2012,635411,house,4,, 31/03/2012,794533,house,5,, 31/03/2012,339125,unit,1,, 31/03/2012,424673,unit,2,, 31/03/2012,540344,unit,3,, 31/03/2013,451077,house,2,, 31/03/2013,506380,house,3,, 31/03/2013,634229,house,4,, 31/03/2013,807826,house,5,, 31/03/2013,348491,unit,1,, 31/03/2013,425751,unit,2,, 31/03/2013,566706,unit,3,, 31/03/2014,469920,house,2,, 31/03/2014,508499,house,3,, 31/03/2014,648174,house,4,, 31/03/2014,811908,house,5,, 31/03/2014,343298,unit,1,, 31/03/2014,429283,unit,2,, 31/03/2014,583883,unit,3,, 31/03/2015,478398,house,2,, 31/03/2015,528926,house,3,, 31/03/2015,684006,house,4,, 31/03/2015,866489,house,5,, 31/03/2015,334488,unit,1,, 31/03/2015,431567,unit,2,, 31/03/2015,599507,unit,3,, 31/03/2016,482440,house,2,, 31/03/2016,556586,house,3,, 31/03/2016,727736,house,4,, 31/03/2016,923594,house,5,, 31/03/2016,326476,unit,1,, 31/03/2016,431418,unit,2,, 31/03/2016,617363,unit,3,,