Description Usage Arguments Details Value Author(s) See Also Examples
The functions aj joins tables along columns that are usually time columns.
1 |
by |
A vector of character representing the keys on which to perform the join. last element is typically time. |
x |
A dataframe |
y |
A dataframe to lookup value in. |
aj(c(c1,...,cn),t1,t2) where (c1,...,cn) is a list of common column names, and t1 and t2 are the tables to be joined. The columns need not be keys on t1, and t2 must not have a key. Moreover common columns in t1 and t2 must be of the same type and cn (last sym in common columns) must be a common column, typically time, although aj can work on any other type if sorted.
The result is a table with records from the left join of t1 and t2.
For each record in t1, the result has one record with the items in t1, and if there are matching records in t2, the items of the last (in row order) matching record are appended to those of t1 if there is no matching record in t2, the remaining columns are null
A dataframe with values of y as of x taken on specified keys.
JFP
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.