set_col_names | R Documentation |
Add x key var and y key var (with suffixes) to x and y -when joining by different variables and keep is true
set_col_names(x, y, by, suffix, jn_type)
x |
data table: left table |
y |
data table: right table |
by |
character vector of variables to join by |
suffix |
character(2) specifying the suffixes to be used for making non-by column names unique |
jn_type |
character specifying type of join |
list containing x and y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.