calcMI {IDmeasurer} | R Documentation |
Calculate Mutual information (MI)
Description
This function calculates Mutual information of actual and predicted
individual identities in the dataset. It uses Linear discrimination analysis
(MASS::lda) to predict individual identity. Settings for LDA are identical to
those used in calcDS
function, i.e., LDA uses leave-one-out
cross-validation and priors are equal for each individual in dataset.
Reference: Mathevon, N., Koralek, A., Weldele, M., Glickman, S. E.,
& Theunissen, F. E. (2010). What the hyena’s laugh tells: Sex, age, dominance
and individual signature in the giggling call of Crocuta crocuta. BMC
Ecology, 10, 9-Article No.: 9. doi:10.1186/1472-6785-10-9
Usage
calcMI(df)
Arguments
df |
A data frame with the first column indicating individual identity. |
Value
Numeric value of mutual information (in bits).
See Also
Other individual identity metrics: calcDS
,
calcF
, calcHM
,
calcHSngroups
,
calcHSnpergroup
, calcHSntot
,
calcHSvarcomp
, calcHS
,
calcPICbetweenmeans
,
calcPICbetweentot
, calcPIC
Examples
calcMI(ANmodulation)