fIsonymy | R Documentation |
This function obtains the isonymy within a region i
which has an associated collection S_i
of surnames.
fIsonymy(x, category)
x |
a vector of relative frequency squared for each surname. |
category |
represents the grouping element, for example the regions. |
Isonymy is defined as I_i=\sum\limits_{k\in S_i}p_{ki}^2
where p_{ki}
denotes the relative frequency of surname k
in region i
.
In diversity context, p_{ki}
denotes the relative frequency of species k
in community (\approx
region onomastic context) i
and S_i
are all species in community i
.
A dataframe containing the following components:
category |
represents the grouping element, for example the regions / communities. |
x |
the value of isonymy. |
Maria Jose Ginzo Villamayor
Crow J.F. and Mange A.P., (1965). Measurement of inbreeding from the frequency of marriages between persons of the same surname. Eugenics Quarterly, 12(4), 199–203.
Barrai, I., Scapoli, C., Beretta, M., Nesti, C., Mamolini, E., and Rodriguez–Larralde, A., (1996). Isonymy and the genetic structure of Switzerland. I: The distributions of surnames. Annals of Human Biology, 23, 431–455.
fIsonymyAll
.
data(surnamesgal14)
surnamesgal14$pki2 <- (surnamesgal14$number / surnamesgal14$population)^2
result = fIsonymy(surnamesgal14$pki2, surnamesgal14$namuni)
result
data(namesmengal16)
namesmengal16$pki2 <- (namesmengal16$number / namesmengal16$population)^2
result = fIsonymy(namesmengal16$pki2, namesmengal16$namuni)
result
data(nameswomengal16)
nameswomengal16$pki2 <- (nameswomengal16$number / nameswomengal16$population)^2
result = fIsonymy(nameswomengal16$pki2, nameswomengal16$namuni)
result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.