恭喜你!

使用 dplyr 進行程式設計

Dr. Chester Ismay

Educator, Data Scientist, and R/Python Consultant

第 1 章-select() 與輔助函式

  • 使用主要的 dplyr 動詞建立管線:select(), filter(), summarize(), group_by(), mutate()
  • starts_with(), ends_with(), contains() 輔助函式
  • matches() 搜尋正規表示式樣式
使用 dplyr 進行程式設計

第 2 章-欄位轉換

  • select(), everything(), relocate() 調整欄位位置
  • across() 對多個欄位套用相同轉換
  • if_any()if_all() 挑選符合欄位條件的列
  • rowwise()c_across() 進行逐列計算
使用 dplyr 進行程式設計

第 3 章-連接與集合論

  • dplyr 連接(join)
    • 複習 inner_join(), left_join(), anti_join()
  • 集合論語句
    • intersect()
    • union()union_all()
    • setequal()setdiff()
使用 dplyr 進行程式設計

第 4 章-初探 rlang

  • 使用 curly-curly {{ }} 撰寫函式
  • 使用強制展開的「bang-bang」運算子 !! 與解綁運算子 enquo()
  • 用「海象」運算子 :=as_name()!! 建立變數名稱
  • as_label()ggplot2 繪圖程式碼包成函式
使用 dplyr 進行程式設計

相關課程/學習路徑

課程

  • Visualization Best Practices in R
  • Introduction to Data Visualization with ggplot2
  • Intermediate Data Visualization with ggplot2

 

學習路徑

  • Tidyverse Fundamentals with R
  • Intermediate Tidyverse Toolbox
  • R Programmer
使用 dplyr 進行程式設計

太棒了!

使用 dplyr 進行程式設計

Preparing Video For Download...