Variance in weather in R

In analyzing the data for the variance in weather in R project they use the following code:
monthly_stats <- london_data %>%
group_by(month) %>%
summarize(mean = mean(TemperatureC),
standard_deviation = sd(TemperatureC))

yet when i run the code it throws an error "
summarise() ungrouping output (override with .groups argument)"
What is missing?

1 Like


I was having the same “issue”, but it’s not an error, just a friendly reminder.

If you print the variable “monthly_stats” the table should show in the console.



had literally the same thing - cheers for the answer and response

1 Like