房屋面積的探索性視覺化
現在來對反映房屋大小的解釋變數做探索性視覺化:sqft_living,也就是室內可居住空間的平方英尺數,其中 1 平方英尺 ≈ 0.1 平方公尺。
繪製直方圖之後,你會如何描述變數 sqft_living 的分布?
本練習屬於課程
在 Tidyverse 中進行資料建模
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Load packages
library(moderndive)
library(ggplot2)
# Plot the histogram
ggplot(house_prices, aes(x = ___)) +
___ +
labs(___, ___)