View source: R/event_size_plot.R
event_size_plot | R Documentation |
The function takes all combination size in a netfacs object, and plots the distribution of ratios between the observed value and all randomisations
event_size_plot(netfacs.data) event.size.plot(netfacs.data)
netfacs.data |
object resulting from netfacs() function |
Function returns a ggplot showing for each combination size the observed and expected probabilities of occurrance
### 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.