0

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,

sarah laid
  • 11
  • 2
  • It looks like you're new to SO; welcome to the community! If you want great answers quickly, it's best to make your question reproducible. This includes sample data like the output from `dput(head(dataObject)))` and any libraries you are using. Check it out: [making R reproducible questions](https://stackoverflow.com/q/5963269). – Kat Mar 22 '22 at 16:41

0 Answers0