官术网_书友最值得收藏!

  • 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

主站蜘蛛池模板: 吉首市| 兴和县| 穆棱市| 望江县| 曲水县| 宁安市| 永兴县| 乡城县| 同仁县| 慈溪市| 泸州市| 江川县| 德清县| 涪陵区| 叶城县| 泊头市| 鸡东县| 恩平市| 仁怀市| 师宗县| 萨迦县| 呼图壁县| 广州市| 丹江口市| 堆龙德庆县| 原平市| 昔阳县| 永吉县| 武川县| 西和县| 乐业县| 广丰县| 七台河市| 新平| 建始县| 灯塔市| 囊谦县| 玛纳斯县| 阿克苏市| 江北区| 大港区|