overlap | R Documentation |
overlap
creates a flag indicating this row matches the previous one.
overlap(df, ...)
df |
A data frame OR data table |
... |
Arguments used to identify elements to check for matches |
This function checks to see whether elements of this row match the previous
row's elements. Its output is a new variable in the data frame. The main
purpose is for use in the los
function.
## Not run:
overlap(pha_longitudinal, pid, agency_new)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.