1. Learn
  2. /
  3. Courses
  4. /
  5. Modeling with Data in the Tidyverse

Connected

Exercise

Predicting house price with waterfront

You just saw that houses with a view of the waterfront tend to be much more expensive. But by how much? Let's compute group means of log10_price, convert them back to dollar units, and compare!

The variable log10_price has already been added to house_prices for you.

Instructions 1/2

undefined XP
    1
    2

Return both the mean of log10_price and the count of houses in each level of waterfront.