Your main goal is to model the relationship between various variables in the dataset and price of paintings. For this application exercise you are asked to stick to models with one explanatory variable.
plyr package: revalue() or mapvalues() or car package: recode() might be useful, but there are other ways of accomplishing this too.Codebook: https://stat.duke.edu/courses/Fall15/sta112.01/data/paris_paintings.html
Go to the Resources on Sakai and download paris_paintings.csv
Upload this file to RStudio Server
Load using the following (make sure data file is in the correct working directory):
pp <- read.csv("paris_paintings.csv", stringsAsFactors = FALSE) %>%
tbl_df()
Your submission should be an R Markdown file in your team App Ex repo, in a folder called AppEx_03.
Tuesday, Sep 22, beg of class
merge conflics on GitHub – you’re working in the same repo now!
Issues will arise, and that’s fine! Commit and push often, and ask questions when stuck.