So basically I would like the equivalent of
mean(data$Column1, na.rm = TRUE)
for the code below
Data<- Spread_sheet %>%
group_by(Team) %>%
summarise(across(
.cols = everything(),
.fns = list(mean = mean), #mean(na.rm = TRUE) does not work
.names = "{.fn} {.col}"
))
Thanks!