Description Usage Arguments Value Examples
View source: R/entropy_overall.R
Establishes how'ordered' the data is: values close to 0 indicate that combinations are highly repetitive and predictable, while values close to 1 indicate that combinations are equiprobable and prediction of future combinations is difficult
1 | entropy.overall(netfacs.data)
|
netfacs.data |
object resulting from netfacs() function |
Function returns the ratio of observed entropy/expected entropy. Expected entropy is based on randomization (shuffling the observed elements while maintaining the number of elements per row) and represents the maximum entropy a dataset with the same properties as this one can reach. Ratios closer to 0 are more ordered; ratios closer to 1 are more random.
1 2 3 4 5 6 7 8 9 10 11 | ### how do angry facial expressions differ from non-angry ones?
data(emotions_set)
angry.face <- netfacs(
data = emotions_set[[1]],
condition = emotions_set[[2]]$emotion,
test.condition = "anger",
ran.trials = 100,
combination.size = 2
)
entropy.overall(angry.face)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.