dispersion | R Documentation |
Calculate word dispersion measures
dispersion(.x, ...) ## S3 method for class 'data.frame' dispersion( .x, tokens, parts, freq = NULL, fun = "dp_norm", type = c("per_part", "raw", "corpus"), cutoff = 0L, ... ) ## S3 method for class 'table' dispersion(.x, tokens = NULL, parts = NULL, fun = "dp_norm", cutoff = 0L, ...) ## S3 method for class 'corpus' dispersion( .x, tokens = NULL, parts = NULL, freq = NULL, fun = "dp.norm", cutoff = 0L, ... ) ## Default S3 method: dispersion( .x = NULL, tokens, parts, freq = NULL, fun = "dp.norm", type = c("per_part", "raw"), cutoff = 0L, ... )
.x |
data.frame or list containing data, or |
... |
further arguments to be passed to or from other methods |
tokens |
character, factor, or expression specifying the data.frame column or table dimnames |
parts |
character, factor, or expression specifying the data.frame column or table dimnames; the part ids have to be contiguous |
freq |
integer counts |
fun |
character or named list. |
type |
input type, see details |
cutoff |
integer minimum frequency for each type |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.