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

n distinct should take multiple arguments #1084

Closed
hadley opened this issue Apr 16, 2015 · 2 comments
Closed

n distinct should take multiple arguments #1084

hadley opened this issue Apr 16, 2015 · 2 comments
Assignees
Milestone

Comments

@hadley
Copy link
Member

@hadley hadley commented Apr 16, 2015

So you can compute distinctness based on multiple variables

@romainfrancois
Copy link
Member

@romainfrancois romainfrancois commented Apr 17, 2015

would n_distinct( a, b) be the same as n_distinct( c(a,b) ) or are we looking for distinct pairs of values from a and b ?

@hadley
Copy link
Member Author

@hadley hadley commented May 19, 2015

It would be equivalent to n_distinct(interaction(a, b))

@hadley hadley added this to the 0.5 milestone May 19, 2015
@romainfrancois romainfrancois self-assigned this Jul 16, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants