使用 dplyr 進行程式設計
Dr. Chester Ismay
Educator, Data Scientist, and R/Python Consultant
dplyr 動詞建立管線:select(), filter(), summarize(), group_by(), mutate()starts_with(), ends_with(), contains() 輔助函式matches() 搜尋正規表示式樣式select(), everything(), relocate() 調整欄位位置across() 對多個欄位套用相同轉換if_any()、if_all() 挑選符合欄位條件的列 rowwise()、c_across() 進行逐列計算dplyr 連接(join)inner_join(), left_join(), anti_join()intersect()union() 與 union_all()setequal() 與 setdiff(){{ }} 撰寫函式!! 與解綁運算子 enquo():=、as_name()、!! 建立變數名稱as_label() 將 ggplot2 繪圖程式碼包成函式課程
學習路徑
使用 dplyr 進行程式設計