- Hands-On Data Science with R
- Vitor Bianchi Lanzetta Nataraj Dasgupta Ricardo Anjoleto Farias
- 99字
- 2021-06-10 19:12:36
Basic dplyr usage
We have already used some dplyr commands in the previous section and, here, we'll be looking at the standard functions. dplyr provides a set of useful verbs that can be used in conjunction with one another (using the pipe operator or otherwise) to produce the final result.
These verbs are set out in the following list:
-
- sample_n and sample_frac: To extract random values
- summarise: To aggregate values
- mutate: To add new variables
- arrange: To sort the dataset
- filter: To filter the data and extract relevant rows
- Select: To select columns from the dataset
推薦閱讀
- 21天學(xué)通C#
- OpenStack Cloud Computing Cookbook(Second Edition)
- 網(wǎng)絡(luò)組建與互聯(lián)
- 控制系統(tǒng)計(jì)算機(jī)仿真
- 學(xué)會(huì)VBA,菜鳥(niǎo)也高飛!
- 工業(yè)機(jī)器人安裝與調(diào)試
- HTML5 Canvas Cookbook
- 空間機(jī)械臂建模、規(guī)劃與控制
- 零起點(diǎn)學(xué)西門(mén)子S7-200 PLC
- 智能鼠原理與制作(進(jìn)階篇)
- JRuby語(yǔ)言實(shí)戰(zhàn)技術(shù)
- 未來(lái)學(xué)徒:讀懂人工智能飛馳時(shí)代
- 貫通Java Web輕量級(jí)應(yīng)用開(kāi)發(fā)
- Oracle 11g Anti-hacker's Cookbook
- Serverless Design Patterns and Best Practices