lnt_diff {LexisNexisTools} | R Documentation |
Display diff of similar articles
Description
This function is a wrapper for diffPrint. It is intended to help performing a manual assessment of the difference between highly similar articles identified via lnt_similarity.
Usage
lnt_diff(x, min = 0.15, max = 0.3, n = 25, output_html = FALSE, ...)
Arguments
x |
lnt_sim object as returned by lnt_similarity. |
min |
Minimum value of rel_dist to include in diff. |
max |
Maximum value of rel_dist to include in diff. |
n |
Size of displayed sample. |
output_html |
Set to TRUE to output html code, e.g. to use for knitting
an rmarkdown document to html. Chunk option must be set to
|
... |
Currently not used. |
Author(s)
Johannes Gruber
Examples
## Not run:
# Test similarity of articles
duplicates.df <- lnt_similarity(
LNToutput = lnt_read(lnt_sample(copy = FALSE)),
threshold = 0.97
)
lnt_diff(duplicates.df, min = 0.18, max = 0.30)
## End(Not run)
[Package LexisNexisTools version 1.0.0 Index]