Error in code - How to resolve

selected_nzes2011 %>%

  • group_by(jnzflike) %>%
  • summarise(count = n())

The error message is shown below

Error in selected_nzes2011 %>% group_by(jnzflike) %>% summarise(count = n()) :
could not find function "%>%"

Add library(dplyr) before running your code. It'll load %>% from magrittr

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.