Question: solve all ` ` ` { r setup, include = FALSE } knitr::opts _ chunk$set ( echo = TRUE ) ` ` ` ### Instructions
solve all
r setup, includeFALSE
knitr::optschunk$setecho TRUE
### Instructions
This is an R Markdown format used for publishing markdown documents to GitHub. When you click the Knit button, all R code chunks are run and a markdown file md suitable for publishing to GitHub is generated.
Fill in the code chunks for following question and submit this R markdown file to the assignment on Canvas. Make sure when you save that you have run all cells, so the outputs displace between the cells.
Solo work, open book & open notes This part of the exam is open book, open notes. You may use the textbook, your own notes, and any preexisting resources. You must not use communicate with others in person, using online forums, social media, Slack, WeChat, GroupMe, etc. If you have concerns, contact me directly so I can advise you.
Partial credit If you can't get your code to work correctly, you can often earn partial credit. To get partial credit you need to show that you know there is a problem and describe it The better you can describe the problem, the more partial credit you can earn, because it helps demonstrate your knowledge and skill. Please provide your description outside of the code chunk.
Make sure you can have a successful knit of the document, and have a screenshot of your knitted file.
### Qpts Create a vector containing all the positive odd numbers smaller than
r
### Qpts Create a matrix of rows and columns with random numbers. pts Get the st and th row from the matrix.
r
### Qpts Create a function sumn that for any given value, say n computes the sum of the integers from to n inclusive Use the function to determine the sum of integers from to
r
### Qpts Create a dataframe with two columns: 'Name' chr 'Score' numeric containing rows of data.
r
### Qpts Write a function computesn that for any given n computes the sum Snn
r
### Qpts Download the 'HousePriceexam.csv Read the file and import the data to a data frame 'housedf
r
### Qpts Add a new column 'pricepersqft to housedf it is computed as PriceSqftArea.
r
### Qpts What is the median price Price of hourses in zipcode area Check the column Postal
r
### Qpts Get a subset of houses that were built after check the column BuiltYear
r
### Qpts What is the price of the most expensive house in the dataset? pts What is the PropertyAddress of the most expensive house?
r
### Qpts Design a question with the housedf data: the question will use both "mutate" and "filter" from the tidyverse package. pts Write code to answer your question.
#### Write your question here:
r
### Qpts Design a question with the housedf data: the question will use both "groupby and "summarize" from the tidyverse package. pts Write code to answer your question.
#### Write your question here:
r
### Qpts Design a question with the housedf data: the question will use both "arrange" from the tidyverse package. pts Write code to answer your question.
#### Write your question here:
r
### Qpts How many houses have Zestimate price higher than sold price. Hint: You need to convert Zestimate to a numeric value first, egK then you can compare Price with Zestimate
r
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
