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

FR: variable.factor toggle for melt.array #76

Open
franknarf1 opened this issue Mar 8, 2016 · 0 comments
Open

FR: variable.factor toggle for melt.array #76

franknarf1 opened this issue Mar 8, 2016 · 0 comments

Comments

@franknarf1
Copy link

Suppose you want to extract the upper triangle of a correlation matrix (example on SO). I would try...

melt(m) %>% filter(Var2 > Var1)

but inequalities don't work with factors. Maybe a variable.factor toggle can be added to melt, as in melt.data.table.

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