房價與臨水的關係之 EDA
現在來做一次探索式資料分析,觀察以 10 為底之對數房價 log10_price 與二元變數 waterfront 的關係。先查看 waterfront 的原始值,接著把兩者的關係視覺化。
house_prices 資料集中已為你加入 log10_price 欄位。
本練習屬於課程
在 Tidyverse 中進行資料建模
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# View the structure of log10_price and waterfront
house_prices %>%
___(___, ___) %>%
___