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

summarise and group_by doesn't work with only one grouping variable with a tbl_cube #480

Closed
James-Arnold opened this issue Jul 1, 2014 · 0 comments

Comments

@James-Arnold
Copy link

summarise and group_by works on two grouping variables, but not one, when using a tbl_cube:

summarise(group_by(nasa,month,year),temp=mean(temperature))
Source: local array [72 x 2]
D: month [int, 12]
D: year [int, 6]
M: temp [dbl[12,6]]

summarise(group_by(nasa,month),temp=mean(temperature))
Error: Invalid input
@James-Arnold James-Arnold changed the title summarize and group_by doesn't work with only one grouping variable summarize and group_by doesn't work with only one grouping variable with a tbl_cube Jul 3, 2014
@James-Arnold James-Arnold changed the title summarize and group_by doesn't work with only one grouping variable with a tbl_cube summarise and group_by doesn't work with only one grouping variable with a tbl_cube Jul 24, 2014
@hadley hadley closed this as completed in 1dfc66c Jul 28, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2018
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

1 participant