ComeçarComece de graça

Visualizing non-complaints

Now let's visualize the word counts associated with non-complaints.

Este exercício faz parte do curso

Introduction to Text Analysis in R

Ver curso

Instruções do exercício

  • Only keep the non-complaints.
  • Create a bar plot using the new word_counts.
  • Title the plot "Non-Complaint Word Counts".

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

word_counts <- tidy_twitter %>% 
  # Only keep the non-complaints
  ___(___) %>% 
  count(word) %>% 
  filter(n > 150)

# Create a bar plot using the new word_counts
ggplot(___, aes(___, ___)) +
  ___() +
  coord_flip() +
  # Title the plot "Non-Complaint Word Counts"
  ___(___)
Editar e executar o código