We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A proposal, add bind_rows(), or similar to the tools to get totals easily. i.e.:
mtcars %>% # convert cyl column as.character mutate_at("cyl",as.character) %>% # append a copy of the original mtcars with cyl column = 'TOTAL' bind_rows(mutate(mtcars, cyl="total")) %>% group_by(cyl) %>% summarise(mpg=mean(mpg)) %>% as.data.frame
To get the final row "total":
cyl mpg 1 4 26.66364 2 6 19.74286 3 8 15.10000 4 total 20.09062
The text was updated successfully, but these errors were encountered:
Yeah. One has to think about how to do this in disk.frame you can just group by, summarise, collect and then and then apply the same.
group by
summarise
collect
bind_rows is possible with rbindlist.disk.frame
bind_rows
rbindlist.disk.frame
Perhaps bind_rows needs to be added.
Sorry, something went wrong.
No branches or pull requests
A proposal, add bind_rows(), or similar to the tools to get totals easily. i.e.:
To get the final row "total":
The text was updated successfully, but these errors were encountered: