Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

adding information for how to pass key and value for melt function #6

Open
ahdvnd opened this issue Feb 15, 2019 · 2 comments
Open

Comments

@ahdvnd
Copy link
Contributor

ahdvnd commented Feb 15, 2019

While it's asked in the swirl module, we don't talk about how to pass variable and value arguments in the melt function. We have them for gather and spread but not for reshape2.

melt(data, variable.name = “variable”, value.name = “value”)

@muschellij2
Copy link
Contributor

muschellij2 commented Feb 15, 2019 via email

@ahdvnd
Copy link
Contributor Author

ahdvnd commented Feb 15, 2019

it's one of the questions in the swirl module
I actually think it's a little confusing for students when we show them both ways. I think teaching them one way is better but you guys know better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants