num_words: Number of words

Description Usage Arguments Value Examples

View source: R/num_words.R

Description

Number of words

Usage

1
num_words(letters, word_len = 0, wildcard = FALSE)

Arguments

letters

string of characters to build words

word_len

if desired, length of words to be returned

wildcard

boolean to activate or not a wildcard

Value

returns an int with the number of possible words you can create

Examples

1
2
3
get_words("uhwoih")
get_words("ihfjwd", word_len = 4)
get_words("hasfic", wildcard = TRUE)

staceaileen/scRabble documentation built on May 25, 2019, 8:18 a.m.