Description Usage Arguments Details
A helper function for diffr()
that uses a distance matrix to align
text lines.
1 | text_align(distM, maxDist = Inf, retMatrix = T)
|
distM |
Distance matrix to base alignment on. |
maxDist |
Maximum distance below which two lines might be considered to match. |
retMatrix |
Should the result be returned as boolean matrix or as data frame. |
Gives back an alignment matrix (boolean) or an data frame with line numbers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.