Group_by command

outletidentifiercount <- bgm.df %>%

    •                     group_by(bgm.df$Outlet_Identifier) %>%
      
    • tally()

Error in UseMethod(“group_by_”) :
no applicable method for ‘group_by_’ applied to an object of class “factor”

I am not getting the above code of counting the outlet based on identifier

Kindly help me

© Copyright 2013-2019 Analytics Vidhya