0

I am using dplyr to group my target variable and it normally works but Im not sure why I am getting this error. My code is as simple as:

class_percentage <- bank_dataset %>% group_by(y) %>% summarise(count = n())

I get this error:

Error: This function should not be called directly Call rlang::last_error() to see a backtrace

What am I doing wrong here?

NelsonGon
  • 11,358
  • 5
  • 21
  • 44
principe
  • 103
  • 1
  • 10

0 Answers0