View source: R/mutual_information_elements.R
mutual.information | R Documentation |
Calculates the pointwise mutual information of units with each other
mutual.information(netfacs.data)
netfacs.data |
object resulting from netfacs() function |
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
### 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.