Skip to contents

An in-depth summary of each word

Usage

word_characteristics(data, column = "word")

Arguments

data

A data frame containing a column of words

column

A character column containing a list of words

Value

A data frame

Examples

example_words <- data.frame(word_column = c("alfa", "bravo", "charlie", "delta", "civic"))
word_characteristics(data = example_words, column = "word_column")
#>      word length vowels consonants is_palindrome has_repeated_letters
#> 1    alfa      4      2          2         FALSE                FALSE
#> 2   bravo      5      2          3         FALSE                FALSE
#> 3 charlie      7      3          4         FALSE                FALSE
#> 4   delta      5      2          3         FALSE                FALSE
#> 5   civic      5      2          3          TRUE                FALSE