add_from_x | R Documentation |
Add a variable from one of the data sets to pairs
add_from_x(pairs, variable, new_variable = variable, ...)
add_from_y(pairs, variable, new_variable = variable, ...)
pairs |
|
variable |
name of the variable that should be added |
new_variable |
optional variable name of the new variable in
|
... |
other parameters are passed on to |
Returns the pairs with the column added. When inplace = TRUE
pairs
is returned invisibly and the original pairs
is
modified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.