text_align: Aligning text.

Description Usage Arguments Details

View source: R/text_align.r

Description

A helper function for diffr() that uses a distance matrix to align text lines.

Usage

1
text_align(distM, maxDist = Inf, retMatrix = T)

Arguments

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.

Details

Gives back an alignment matrix (boolean) or an data frame with line numbers.


wagbr/diffrr documentation built on Feb. 10, 2022, 12:38 a.m.