Description Usage Arguments Value
Given a list item indexed by vendor hashes (such as 'titleTokens', ..., generated using the functions in 'step2_anytime.R'), generate Jaccard similarities / return whether or not their intersections are non-empty (used for PGPs).
1 | fromList(pairsOfInterest, listName, functionName)
|
pairsOfInterest |
dataframe with columns 'hash1', 'hash2' referring to vendor hashes for the comparison |
listName |
e.g. 'titleTokens', 'profileTokens', 'PGPlist' |
functionName |
either 'jaccardSimilarity' or 'PGPmatch'. These are currently the only two options. |
vector the length of 'nrow(pairsOfInterest)', containing the resulting similarity scores for each pair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.