Description Usage Arguments Value Author(s)
Merge a vector and a data.frame.
This will essentially subset y
to the values of y$"by.y" to the values specified in x. If values in x
aren't found in y, then NA fields will be filled in.
1 2 |
x |
a vector of ‘search keys’ |
y |
a |
by.y |
the column name in y to match the ‘search keys’ in |
all.x |
logical: return all values in |
all.y |
logical: return all rows in |
sort |
logical: Should the results be sorted on the |
unique.x |
logical: if |
a data.frame with same columns as y, but with rows specified by
the search keys in x, and the value of unique.x.
Mark Cowley, 18 April 2006
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.