'Measuring Readability and Syllables in R

I want to measure the readability of the character variables which I have it has 9567 elements. I have tried using the quanteda package to measure:

readability.croydon.extended <- textstat_readability(Croydon., measure = "ARI", "Flesch", "Flesch.Kincaid", "Farr.Jenkins.Paterson", "FOG", "nWs.2", "Scrabble",remove_hyphens = TRUE, min_sentence_length = 1,max_sentence_length = 10000,intermediate = FALSE)

However when I run it return with :

Error in as.vector(x) : argument is missing, with no default.

Would appreciate a possible solution to this,



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source