Skip to content

Instantly share code, notes, and snippets.

@seankross
Created August 25, 2014 18:50
Show Gist options
  • Select an option

  • Save seankross/fa6929f37392d66abf64 to your computer and use it in GitHub Desktop.

Select an option

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