Exercise: Vectors

  1. Create a vector with your first, middle, and last names.
  2. Create a vector with the even numbers between zero and 10.

Exercise: Data Structure

  1. Import the Seattle Housing Data file from ‘http://math.montana.edu/ahoegh/teaching/stat408/datasets/SeattleHousing.csv’.
  2. What type of data structure is this?

Exercise: Subsetting

  1. Create a new data frame that only includes houses worth more than $1,000,000.
  2. From this new data frame what is the average living square footage of houses. Hint columns in a data.frame can be indexed by Seattle$sqft_living

Exercise: Data Exploration

  1. How do the mean and median prices differ in the complete Seattle Housing data set?

Exercise: Basic Plot

  1. Using only the subset of homes worth more than a million dollars, create a graphic.