R/expandGridDf.R

#
#' Create a tibble from the Combinations of data frames
#'
#' @param ... data frames to be passed to the function
#' @export
#' @import dplyr
expandGridDf <- function(...) {
  Reduce(function(...) merge(..., by = NULL), list(...)) %>% as_data_frame()
}
tanerumit/hydrosystems documentation built on May 31, 2019, 2:57 a.m.