get_matching_rows | R Documentation |
Get rows in x
tibble that match the id rows specified
by the id
tibble. This function is an alternative to the usual
dplyr::inner_join
function. The difference is that this function
ignores the source bytecode of functions when looking for matching rows,
while dplyr::inner_join
treats functions with different sources
as different. This function also requires that the id
tibble have
distinct rows while dplyr::inner_join
does not. This function
enables caching when functions are used as parameters in DGPs and Methods.
get_matching_rows(id, x)
id |
A tibble with distinct rows. |
x |
A tibble. |
A tibble, containing the subset of rows from x
that match
id rows from id
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.