lnt_diff | R Documentation |
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.
lnt_diff(x, min = 0.15, max = 0.3, n = 25, output_html = FALSE, ...)
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. |
Johannes Gruber
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.