event_size_plot {NetFACS} | R Documentation |
Plots the probability that a combination of a certain size appears
Description
The function takes all combination size in a netfacs object, and plots the distribution of ratios between the observed value and all randomisations
Usage
event_size_plot(netfacs.data)
event.size.plot(netfacs.data)
Arguments
netfacs.data |
object resulting from netfacs() function |
Value
Function returns a ggplot showing for each combination size the observed and expected probabilities of occurrance
Examples
### 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
)
event_size_plot(angry.face)
[Package NetFACS version 0.5.0 Index]