Compute incremental random samples from a frequency spectrum (an object
an object of class
a vector of non-negative integers in increasing order, the sample sizes for which incremental samples will be generated
This function is currently implemented as a wrapper around
tfl2spc to convert
between frequency spectra and type frequency lists. A direct
implementation might be slightly more efficient, but would very likely
not make a substantial difference.
N is a single integer (and the
force.list flag is not
spc object representing the frequency spectrum of a
random sample of size N from
N is a vector of length greater one, or if
force.list=TRUE, a list of
spc objects representing the
frequency spectra of incremental random samples of the specified sizes
N. Incremental means that each sample is a superset of
the preceding sample.
spc for more information about frequency spectra
sample.spc takes a single concrete random
subsample from a spectrum and returns the spectrum of the subsample,
spc.interp, that computes the expected
frequency spectrum for random subsamples of size
1 2 3 4 5 6 7 8 9 10 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.