Home work of dplyr (rstudio)

Get your original paper written from scratch starting at just $10 per page with a plagiarism report and free revisions included!

4.8

rating

SiteJabber

4.9

rating

ResellerRatings

4.9

rating

Reviews.io

Hire A Writer

# Use package dplyr to explore WestRoxbury real estate dataset 

d = read.csv(“WestRoxbury.csv”)

View(d)

# Questions

# 1) Filter the data to show only houses whose total value

# is greater than 350 (thousand), less than 20 years of age, 

# and tax is less than 5000. HINT: use Mutate to calculate

# age of the house as of 2020.

# 2) Sort the dataset by (age, total value), then show

# only age, total value, lot sqft, and rooms. Assign entire

# output to a variable named sortedD. Now using standard base R, show only

# first 10 rows of sortedD.

# 3) A potential buyer is looking for a house which will have at least 8 rooms,

# in exactly one floor, have a fireplace, and built in between 1970 and 1990.

# Arrange these houses sorted by total value. 

# Finally, assign the result to a new variable named custList.

# View custList.

# 4) Summarize the dataset by first grouping on age, then calculate 

# count of each group, mean, min, and max of total value. Then,

# order the resulting output (in descending order) by count. Finally, assign the result 

# to a new variable named groupedD.

# View groupedD.

  

Stay Anonymous
With Our Essay Writing Service

The aim of our service is to provide you with top-class essay help when you ask us to write my paper; we do not collect or share any of your personal data. We use the email you provide us to send you drafts, final papers, and the occasional promotion and discount code, but that’s it!

Order Now