Description Usage Arguments Value See Also Examples
EV
and EVm
are generic methods for computing the
expected vocabulary size E[V] and frequency spectrum
E[V_m] according to a LNRE model (i.e. an object belonging to a
subclass of lnre
).
When applied to a frequency spectrum (i.e. an object of class
spc
), these methods perform binomial interpolation (see
EV.spc
for details), although spc.interp
and vgc.interp
might be more convenient binomial
interpolation functions for most purposes.
1 2 |
obj |
an LNRE model (i.e. an object belonging to a subclass of
|
m |
positive integer value determining the frequency class m to be returned (or a vector of such values) |
N |
sample size N for which the expected vocabulary size and frequency spectrum are calculated (or a vector of sample sizes) |
... |
additional arguments passed on to the method implementation (see respective manpages for details) |
EV
returns the expected vocabulary size E[V(N)] in a
sample of N tokens, and EVm
returns the expected spectrum
elements E[V_m(N)], according to the LNRE model given by
obj
(or according to binomial interpolation).
See lnre
for more information on LNRE models, a listing
of available models, and methods for parameter estimation.
The variances of the random variables V(N) and V_m(N) can
be computed with the methods VV
and VVm
.
See EV.spc
and EVm.spc
for more
information about the usage of these methods to perform binomial
interpolation (but consider using spc.interp
and
vgc.interp
instead).
1 | ## see lnre() documentation for examples
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.