Description Usage Arguments Value See Also Examples
View source: R/stabilize_estimate.R
stabilize.estimate
is used to find the minimum size of text
needed to get a stable entropy rate.
1 2  stabilize.estimate(text, step.size, max.length = length(text),
every.word = 10, method = "downsample", rate = 5, verbose = TRUE)

text 
Character vector. Preferably this should be read with

step.size 
A numeric scalar. Prespecifies the step sizes at which entropy rates are computed. Warning: smaller values increase the computation time. 
max.length 
A numeric scalar. How many tokens of the

every.word 
A numeric scalar. "every.word=1" specifies that each word token should be used for estimation. To speed up processing only every 2nd, 3rd, nth word token could be used. Hence, every.word can be assigned any integer between 1 and the step size. 
verbose 
Boolean. Whether or not to display progress. 
downsampling.rate 
A numeric scalar. 
stabilize.estimate
returns an object of class Stabilize
.
1 2  data(deuparl)
ce < stabilize.estimate(deuparl, step.size = 1000, max.length = 10000, every.word = 10, method = "downsample", rate = 5, verbose = TRUE)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.