Skip to content

Instantly share code, notes, and snippets.

@seankross
Created August 25, 2014 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seankross/fa6929f37392d66abf64 to your computer and use it in GitHub Desktop.
Save seankross/fa6929f37392d66abf64 to your computer and use it in GitHub Desktop.
library(dplyr)
create_tbl_df <- function(...){
tbl_df(as.data.frame(matrix(...)))
}
results <- create_tbl_df(nrow=5, ncol=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment