near_join | R Documentation |
Add rows from y to x based on the closest numeric value in a single common column. This function is used to join based on matches of values or datetimes within a numeric tolerance.
near_join(x, y, by = "datetime", tolerance)
x |
Data frame of to index against |
y |
Data frame that will be joined to |
by |
The column name to join by. There can only be one column.
If x and y have different column names,
use the format |
tolerance |
The maximum numeric difference between values in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.