check_by_vars | R Documentation |
by
inputThis function checks the variable name(s) to be used as key(s) of the join
check_by_vars(by, x, y)
by |
A vector of shared column names in |
x , y |
|
list with information about by variables
## Not run:
x1 = data.frame(
id = c(1L, 1L, 2L, 3L, NA_integer_),
t = c(1L, 2L, 1L, 2L, NA_integer_),
x = 11:15)
y1 = data.frame(id = 1:2,
y = c(11L, 15L))
# With var "id" shared in x and y
joyn:::check_by_vars(by = "id", x = x1, y = y1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.