We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use cases search as, where interroA is in wide format
interroA
interroA %>% privot_longer(names_to = "interro", values_to = "res", starts_with("interro")) %>% group_by(interro) %>% summarise(mean_interro = mean(res))
or
interroA %>% summarise(mean1 = mean(interro1), mean2 = mean(interro2), ...)
will be possible with
interroA %>% summarise(across(starts_with("interro"), mean))
See https://www.tidyverse.org/blog/2020/04/dplyr-1-0-0-colwise/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use cases search as, where
interroA
is in wide formator
will be possible with
See https://www.tidyverse.org/blog/2020/04/dplyr-1-0-0-colwise/
The text was updated successfully, but these errors were encountered: