Description Usage Arguments Details Value Author(s) References Examples
Utility functions to play with specificities.
1 2 3 4 5 6 7 8 | specif_calc(parts, data, token="peuple", method="base")
specif_value(N, n, K, k, method="base")
specif_cdf(parts, data, token="peuple", R=10, new=TRUE, method="base", ...)
specif_cdmo(parts, data, token="peuple")
specif_density(parts, data, token="peuple", R=10, new=TRUE, ...)
specif_mode2cdf(data, maxi=sum(data), token="peuple", ...)
specif_mode2density(data, maxi=sum(data), token="peuple", ...)
specif_plot(d, data, token="peuple", R=NULL, method="base", ...)
|
parts |
vector of part indices |
d |
index of single part |
data |
table of frequencies |
token |
token for which to determine the specificity |
maxi |
maximum part size |
R |
radius of interval around mode |
new |
if TRUE start a new window device |
method |
method used to calculate the specificity |
... |
other arguments passed to plot functions |
N |
number of balls in the urn |
K |
number of white balls in the urn |
n |
number of balls drawn from the urn |
k |
vector of observed white balls |
Utility functions to play with specificities.
The possible method names are : "base", "log", "gap", "scale" or "logscale".
specif_calc
returns a vector of specificities.
Bernard Desgraupes - bernard.desgraupes@u-paris10.fr
University of Paris Ouest - Nanterre - Lab Modal'X
Sylvain Loiseau - sylvain.loiseau@univ-paris13.fr
University Paris-13 - Lab LDI
P. Lafon Sur la variabilit<c3><a9> de la fr<c3><a9>quence des formes dans un corpus, Mots, octobre 1980, N<c2><b0>1. pp. 127-165.
1 2 3 4 5 6 | data(rob)
specif_calc(3:9, rob)
specif_density(1:10,rob)
dev.new()
specif_cdf(c(4,8),rob)
specif_plot(8,rob)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.