The beauty of R. It recognized both the British and American spelling.
summary_temp <- weather %>%
🇺🇸summarize(mean = mean(temp, na.rm = TRUE),
std_dev = sd(temp, na.rm = TRUE))
summary_temp
summary_temp <- weather %>%
🇬🇧summarise(mean = mean(temp, na.rm = TRUE),
std_dev = sd(temp, na.rm = TRUE))
summary_temp
> summary_temp
# A tibble: 1 x 2
mean std_dev
<dbl> <dbl>
1 55.3 17.8
> summary_temp
# A tibble: 1 x 2
mean std_dev
<dbl> <dbl>
1 55.3 17.8