mutual.information {NetFACS} | R Documentation |
Calculates the pointwise mutual information of units with each other
Description
Calculates the pointwise mutual information of units with each other
Usage
mutual.information(netfacs.data)
Arguments
netfacs.data |
object resulting from netfacs() function |
Value
Function returns a dataframe that includes all combinations, their occurrence counts and probabilities, and the pointwise mutual information (standardised between -1 and 1). 1 means seeing one necessitates seeing the other, -1 means one precludes the other
Examples
### how do angry facial expressions differ from non-angry ones?
data(emotions_set)
angry.face <- netfacs(
data = emotions_set[[1]],
condition = NULL,
test.condition = NULL,
ran.trials = 100,
combination.size = 4
)
mutual.information(angry.face)
[Package NetFACS version 0.5.0 Index]