课程
Categorical Data in the Tidyverse
基础技能水平
更新时间 2026年1月RData Manipulation4 小时13 视频44 练习3,600 经验值16,445成就声明
深受数千家公司学习者的喜爱
培训2人或更多?
试用DataCamp for Business课程描述
先决条件
Reshaping Data with tidyr1
Introduction to Factor Variables
In this chapter, you’ll learn all about factors. You’ll discover the difference between categorical and ordinal variables, how R represents them, and how to inspect them to find the number and names of the levels. Finally, you’ll find how forcats, a tidyverse package, can improve your plots by letting you quickly reorder variables by their frequency.
2
Manipulating Factor Variables
You’ll continue to dive into the forcats package, learning how to change the order and names of levels and even collapse them into one another.
3
Creating Factor Variables
Having gotten a good grasp of forcats, you’ll expand out to the rest of the tidyverse, learning and reviewing functions from dplyr, tidyr, and stringr. You’ll refine graphs with ggplot2 by changing axes to percentage scales, editing the layout of the text, and more.
4
Case Study on Flight Etiquette
In this final chapter, you’ll take all that you’ve learned and apply it in a case study. You’ll learn more about working with strings and summarizing data, then replicate a publication quality 538 plot.
Categorical Data in the Tidyverse
课程完成 通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。