加入你的在地工會,all
現在你要把三個文氏圖放在一起思考。你能分辨 union_all()、union() 和 intersect() 之間的關係嗎?

請把三者都試一次,看看在比較 asia_wb_combos 與 imf_combos 時,每個函式回傳的列數有什麼關係。
asia_wb_combos 和 imf_combos 已為你載入。
本練習屬於課程
使用 dplyr 進行程式設計
練習說明
- 取
asia_wb_combos與imf_combos的交集。 - 取
asia_wb_combos與imf_combos的聯集。 - 回傳
asia_wb_combos和imf_combos的所有列(包含重複列)。
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Intersect Asia World Bank data combos with IMF combos
___
# Union Asia World Bank data combos with IMF combos
___
# Give all rows in both Asia World Bank data and IMF combos
___