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

  • 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

主站蜘蛛池模板: 金山区| 光山县| 兴国县| 天等县| 北碚区| 银川市| 化隆| 呈贡县| 会泽县| 崇阳县| 宁安市| 乌拉特中旗| 清涧县| 金川县| 青冈县| 松潘县| 桦甸市| 湄潭县| 呼伦贝尔市| 云南省| 怀宁县| 定边县| 长泰县| 宜兰市| 集贤县| 德江县| 石林| 汨罗市| 铜陵市| 景洪市| 车致| 沭阳县| 南宁市| 奎屯市| 天祝| 涞水县| 天镇县| 潜山县| 巢湖市| 平山县| 柳河县|