| error_correction_propostion | R Documentation |
Analyse a typo and suggests the closest names.
error_correction_propostion(asked_objet, method = "jaccard", n = 2)
asked_objet |
The R name producing an error. |
method |
Method for distance calculation. The default is "jaccard", see [stringdist::stringdist-metrics]. |
n |
Number of corrections to suggest (default: 2). |
A character vector with the closest neighbors, or 'character(0)' if no valid input is provided.
error_correction_propostion("iri")
error_correction_propostion("view")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.