Using group_by and summarise give NA's. Help

Please familiarize yourself with our cross-posting policy, in short, it is not considered OK to just drop a link to other help site.