Description Usage Arguments Value Examples
View source: R/bootstrap_readability.R
Function to compute bootstrapped mean and SEs for readability statistics. This is a wrapper around
quanteda.textstats::textstat_readability()
, that redraws the corpus using sentence-level bootstrapping from the
original texts.
1 | bootstrap_readability(x, n = 100, ..., verbose = FALSE)
|
x |
character or corpus input object for which readability will be computed |
n |
bootstrap replicates |
... |
additional arguments passed to |
verbose |
if |
list consisting of three data.frame objects: the computed values on the original texts; the computed mean of the replicates; and the standard deviations of the replicates
1 2 3 | data(data_corpus_inaugural, package = "quanteda")
bootstrap_readability(data_corpus_inaugural[50:58], n = 10,
measure = c("Flesch", "Flesch.Kincaid"), verbose = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.