join: Merge data frames

View source: R/utils.R

joinR Documentation

Merge data frames

Description

This function merges several data frames at once

Usage

join(..., by, all = FALSE, all.x = all, all.y = all, sort = TRUE)

Arguments

...

data frames, or objects to be coerced to one.

by

specifications of the columns used for merging.

all

logical; all = L is shorthand for all.x = L and all.y = L, where L is either TRUE or FALSE.

all.x

logical; if TRUE, then extra rows will be added to the output, one for each row in x that has no matching row in y. These rows will have NAs in those columns that are usually filled with values from y. The default is FALSE, so that only rows with data from both x and y are included in the output.

all.y

logical; analogous to all.x.

sort

logical. Should the result be sorted on the by columns?


seokhoonj/vuw documentation built on Jan. 30, 2024, 11:36 a.m.