Skip to content
New issue

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

Replace gather with pivot_longer #3

Open
kenarab opened this issue Mar 17, 2020 · 0 comments
Open

Replace gather with pivot_longer #3

kenarab opened this issue Mar 17, 2020 · 0 comments
Assignees

Comments

@kenarab
Copy link
Collaborator

kenarab commented Mar 17, 2020

Retired lifecycle

Description
Retired lifecycle
Development on gather() is complete, and for new code we recommend switching to pivot_longer(), which is easier to use, more featureful, and still under active development. df %>% gather("key", "value", x, y, z) is equivalent to df %>% pivot_longer(c(x, y, z), names_to = "key", values_to = "value")
@kenarab kenarab self-assigned this Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant