Created
June 7, 2016 09:39
-
-
Save benwhalley/71a26534cf14205f1ad4775004d55905 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/questions/11693599/alternative-to-expand-grid-for-data-frames | |
expand.grid.df <- | |
function(...) | |
Reduce(function(...) | |
merge(..., by = NULL), list(...)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment