Description Usage Arguments Value See Also Examples
Given a list of letters and a dictionary, is there a pangram?
1 | has_pangram(game_letters, dictionary = normal)
|
game_letters |
A character vector of letters in the format of c("l", "e", "t", "r", "s") or "letrs" |
dictionary |
A character list of words—defaults to the normal list from the package. |
Logical: TRUE if a pangram exists; FALSE if not.
1 2 3 4 | has_pangram(c("l", "e", "t", "r", "s")) # yes
has_pangram(c("d", "r", "g", "t", "i")) # none
# or:
has_pangram("leters")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.