R/bind_cols.R

Defines functions bind_cols_data

Documented in bind_cols_data

#' Bind columns
#'
#' Bind together the columns of two or more data frames.
#'
#' @param ... Data frames
#' @return Single data frame with combined columns
#' @export
bind_cols_data <- function(...) {
  dots <- peel_list_alist(list(...))
  as_tbl_data(do.call(base::cbind, dots, quote = FALSE))
}

Try the tbltools package in your browser

Any scripts or data that you put into this service are public.

tbltools documentation built on Feb. 9, 2019, 1:04 a.m.