checkMinOverlap | R Documentation |
Checks if the overlap between two character vectors is at least a specified percentage of the shorter vector. Stops execution with an error if the condition is not met.
checkMinOverlap(x, y, min_overlap = 0.2, stop_it = TRUE, verbose = TRUE)
x |
First character vector. |
y |
Second character vector. |
min_overlap |
Minimum required overlap as a fraction of the shorter vector's length. |
stop_it |
Use stop(), else warning() |
verbose |
verbose |
Invisible TRUE if the overlap is sufficient, otherwise stops with an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.