Fun
Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

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
This page is a permanent link to the reply below and its nested replies. See all post replies »
adorbz · 26-30, F
SW-User
@adorbz It simple
cus
m a newbie
adorbz · 26-30, F
@SW-User I have no idea what’s going on here 👀
SW-User
@adorbz Trying to get summary temperature of weather from a data set. Looking for mean and standard deviation.
What I highlighted here with the flags that, summarize and summarise, both are recognized by the programming language R. :) ❤️
adorbz · 26-30, F
@SW-User ooooooooh ohhhhhh I see that now. That’s cool 🥺 americans being inclusive to brits for once 🥺🥺🥺