Pclass_freq <- train %>% group_by(Survived)%>% count(Pclass)
Any ideas why this code was working and once I restarted R studio it is gi