НачатьНачать бесплатно

Renaming a column after count

The rename() verb is often useful for changing the name of a column that comes out of another verb, such as count(). In this exercise, you'll rename the default n column generated from count() to something more descriptive.

Это упражнение является частью курса

Data Manipulation with dplyr

Посмотреть курс

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

counties %>%
  # Count the number of counties in each state
  ___
Редактировать и запускать код