loading...

Functions for binding data frames by rows or columns. These are SciViews::R versions with standard evaluation and formula-based non-standard evaluation (ending with underscore _).

#' Functions:

  • bind_rows_() - Stack two or more data frames one on top of the other

  • bind_cols_() - Stack two or more data frames side by side

bind_rows_(..., .id = NULL, .use_names = TRUE, .fill = TRUE)

bind_cols_(
  ...,
  .name_repair = c("unique", "universal", "check_unique", "minimal")
)

Arguments

...

Data frames to bind.

.id

The name of the column for the origin id, either names if all other arguments are named, or numbers.

.use_names

If TRUE (default), bind by matching names, if FALSE, bind by position. If NULL, warns if all items do not have the same name in the same order, and then proceeds as if FALSE (but will be as if TRUE in the future).

.fill

If TRUE (default), fill missing columns with NA or NULL for missing list columns, if FALSE, do not fill.

.name_repair

How should the name be "repaired" to avoid duplicate

Value

A data frame of the same type as the first one provided in ....