| lev_best_match | R Documentation | 
Given an input string and multiple candidates, return the candidate with the best score as
calculated by .fn.
lev_best_match(input, candidates, .fn = lev_ratio, ..., decreasing = TRUE)
| input | A single string | 
| candidates | One or more candidate strings to score | 
| .fn | The scoring function to use, as a string or function object. Defaults to
 | 
| ... | Additional arguments to pass to  | 
| decreasing | If  | 
A string
lev_score_multiple()
lev_best_match("bilbo", c("frodo", "gandalf", "legolas"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.