Session Ready
Exercise

Graphing a model of house prices

In this exercise, you'll use the Houses_for_sale data to build a model that corresponds to the graphic shown. You'll have to figure out what are the response and explanatory variables from the axis and facet labels shown in the plot.

You can try both the linear architecture and the recursive partitioning architecture to see which one was used.

Recall the syntax for fmodel() is:

fmodel(model_object, ~ x_var + color_var + facet_var)
Instructions
100 XP
  • Build the model displayed in the graphic.
  • Use fmodel() to graph the model you built with the goal of replicating the plot shown here.